rust-hypervisor-firmware
rust-hypervisor-firmware copied to clipboard
AArch64: Add direct kernel boot support
trafficstars
Direct kernel boot, that load and start kernel specified by kernel cmdline, is an important feature in some scenairo like secure containers, confidential container.
How does it work?
- Specify kernel image and firmware from VM cmdline; (user)
- Load kernel image somewhere inside memory and store kernel info (including kernel location and size) inside FDT/Chosen; (VMM does)
- When firmware boot, retrive kernel info from FDT/Chosen; (RF)
- Load kernel to kernel start address; (RF)
- Prepare kernel cmdline;(RF)
- Start kernel;(RF)
Dependency: CH lacks of support for this feature;