From 51327dfd0e69735e852e3ee1cb7a88ed9c0bd8ef Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 14 Feb 2024 11:56:48 +0900 Subject: [PATCH] Add a new trait for AMD SEV-ES This introduces a new trait to indicate that a compute node has AMD CPU which supports SEV-ES(Secure Encrypted Virtualization-Encrypted State). Partially-Implements: blueprint amd-sev-es-libvirt-support Change-Id: I541449a895fedfd092cef572ea49fb2d8fe325b4 --- os_traits/hw/cpu/x86/amd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/os_traits/hw/cpu/x86/amd.py b/os_traits/hw/cpu/x86/amd.py index 6645745..256ff23 100644 --- a/os_traits/hw/cpu/x86/amd.py +++ b/os_traits/hw/cpu/x86/amd.py @@ -14,8 +14,9 @@ TRAITS = [ - # ref: https://specs.openstack.org/openstack/nova-specs/specs/train/implemented/amd-sev-libvirt-support.html # noqa + # ref: https://www.amd.com/en/developer/sev.html 'SEV', + 'SEV_ES', # ref: https://en.wikipedia.org/wiki/AMD-V 'SVM', # ref: https://git.qemu.org/?p=qemu.git;a=blob;f=docs/qemu-cpu-models.texi