Open jongwu opened 1 year ago
@jongwu I do not understand why direct boot is needed. When a kernel image is specified by VMM arguments, the image is loaded directly into the guest memory and sets up the guest state as described in the document. This way, no firmware (RHF, EDK2) is required. Please clarify the motivation for this feature.
Hi @retrage -,
UEFI based direct kernel boot means that starts firmware first and load kernel instead of bootloader when firmware transfers control at the so-called BDS(Boot Device Selection) phase. We need firmware because we need ACPI and also we want to start kernel specified by command line not from disk.
We can get some benifits from this feature:
With this feature, we can deploy RHF more widely such as into kata and confidential computing containers.
@retrage Do you have any interest in this PR?
@rbradford I still don't understand the motivation, but it's worth to merge to the main branch if Confidential Computing really needs this feature.
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?
Dependency: CH lacks of support for this feature;