mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-19 14:24:26 +01:00
runtime: Enable choice between AMD SEV and SNP
This is based on a patch from @niteeshkd that adds a config parameter to choose between AMD SEV and SEV-SNP VMs as the confidential guest type in case both types are supported. SEV is the default. Signed-off-by: Joana Pecholt <joana.pecholt@aisec.fraunhofer.de>
This commit is contained in:
@@ -348,6 +348,10 @@ type HypervisorConfig struct {
|
||||
// Enable or disable different hardware features, ranging
|
||||
// from memory encryption to both memory and CPU-state encryption and integrity.
|
||||
ConfidentialGuest bool
|
||||
|
||||
// Enables SEV-SNP guests in case both AMD SEV and SNP are supported.
|
||||
// SEV is default.
|
||||
SevSnpGuest bool
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user