Skip to content

Commit

Permalink
runtime: fix creation of SEV confidential container on SNP enabled host.
Browse files Browse the repository at this point in the history
Fixes: #9036

Signed-off-by: Niteesh Dubey <niteesh@us.ibm.com>
  • Loading branch information
Niteesh Dubey committed Feb 6, 2024
1 parent f1ca5d1 commit 32bc08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/virtcontainers/qemu_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func newQemuArch(config HypervisorConfig) (qemuArch, error) {
legacySerial: config.LegacySerial,
},
vmFactory: factory,
snpGuest: config.ConfidentialGuest,
snpGuest: config.SevSnpGuest,
}

if config.ConfidentialGuest {
Expand Down

0 comments on commit 32bc08f

Please sign in to comment.