mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-16 14:28:35 +00:00
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:
@@ -124,7 +124,7 @@ func newQemuArch(config HypervisorConfig) (qemuArch, error) {
|
||||
legacySerial: config.LegacySerial,
|
||||
},
|
||||
vmFactory: factory,
|
||||
snpGuest: config.ConfidentialGuest,
|
||||
snpGuest: config.SevSnpGuest,
|
||||
}
|
||||
|
||||
if config.ConfidentialGuest {
|
||||
|
Reference in New Issue
Block a user