fix support for pv

This commit is contained in:
Alex Zenla
2024-06-06 07:38:25 +00:00
parent c3515ebe48
commit 4e9850293f
3 changed files with 10 additions and 1 deletions

View File

@ -330,6 +330,10 @@ impl BootSetupPlatform for X86PvhPlatform {
false
}
fn hvm(&self) -> bool {
true
}
async fn initialize_early(&mut self, domain: &mut BootDomain) -> Result<()> {
{
let mut config: acpi_config = unsafe { MaybeUninit::zeroed().assume_init() };