hypervisor: vmm: passing nested argument from VMM to hypervisor

This patch connects the VMM and hypervisor to fully enable nested
support for MSHV.

Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
Muminul Islam
2025-10-07 16:25:48 -07:00
committed by Rob Bradford
parent f10d0bb33d
commit d8360ddc8e
3 changed files with 40 additions and 4 deletions

View File

@@ -220,6 +220,7 @@ impl From<&VmConfig> for hypervisor::HypervisorVmConfig {
sev_snp_enabled: _value.is_sev_snp_enabled(),
#[cfg(feature = "sev_snp")]
mem_size: _value.memory.total_size(),
nested: _value.cpus.nested,
}
}
}