runtime: fix creation of SEV confidential container on SNP enabled host.

This is needed to fix the bug which is not allowing to create SEV container
on SNP enabled host anymore. This is a regression that was introduced as
part of the following commit:
de39fb7d38

Fixes: #9036

Signed-off-by: Niteesh Dubey <niteesh@us.ibm.com>
This commit is contained in:
Niteesh Dubey 2024-02-06 16:29:32 +00:00
parent f1ca5d1563
commit 3e383674f8

View File

@ -124,7 +124,7 @@ func newQemuArch(config HypervisorConfig) (qemuArch, error) {
legacySerial: config.LegacySerial,
},
vmFactory: factory,
snpGuest: config.ConfidentialGuest,
snpGuest: config.SevSnpGuest,
}
if config.ConfidentialGuest {