vmm: Refactor VM creation workflow

This refactoring is required to add support for creating SEV-SNP enabled
VM.

Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
This commit is contained in:
Jinank Jain
2022-12-20 04:39:20 +00:00
committed by Rob Bradford
parent 5fd79571b7
commit 200cba0e20
6 changed files with 64 additions and 22 deletions

View File

@@ -1312,6 +1312,8 @@ impl Vmm {
&self.hypervisor,
#[cfg(feature = "tdx")]
false,
#[cfg(feature = "sev_snp")]
false,
)
.map_err(|e| {
MigratableError::MigrateReceive(anyhow!(