On Mon, Jun 14, 2021 at 16:58:14 +0200, Pavel Hrdina wrote:
QEMU 6.0.0 introduced `confidential-guest-support` -machine option
as
a replacement for `memory-encryption`. In order to test it use 6.0.0
capabilities as well.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
.../launch-security-sev.x86_64-6.0.0.args | 36 +++++++++++++++++++
tests/qemuxml2argvtest.c | 1 +
2 files changed, 37 insertions(+)
create mode 100644 tests/qemuxml2argvdata/launch-security-sev.x86_64-6.0.0.args
[...]
diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index a886ba4b0a..e8d9b36098 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -3489,6 +3489,7 @@ mymain(void)
DO_TEST_CAPS_ARCH_LATEST("vhost-vsock-ccw-auto", "s390x");
DO_TEST_CAPS_ARCH_LATEST("vhost-vsock-ccw-iommu", "s390x");
+ DO_TEST_CAPS_VER("launch-security-sev", "6.0.0");
Move this after the 2.12.0 version so they are chronologically ordered.
DO_TEST_CAPS_VER("launch-security-sev",
"2.12.0");
DO_TEST_CAPS_VER("launch-security-sev-missing-platform-info",
"2.12.0");
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>