Changes in v2: - patch 1 split into two separate patches - AMD SEV bits added into 6.0.0 caps instead of 6.1.0 - launch-security-sev qemuxml2argv will use 'pc' machine type Pavel Hrdina (6): qemu_capabilities: introduce confidential-guest-support capability qemu_capabilities: detect if confidential-guest-support is available qemu_command: use confidential-guest-support if available tests: add AMD SEV bits into qemu-6.0.0 replies tests: use newer machine in qemuxml2argv launch-security-sev tests: add launch-security-sev test with latest capabilities src/qemu/qemu_capabilities.c | 14 +- src/qemu/qemu_capabilities.h | 3 + src/qemu/qemu_command.c | 9 +- .../domaincapsdata/qemu_6.0.0-q35.x86_64.xml | 5 +- .../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml | 5 +- tests/domaincapsdata/qemu_6.0.0.x86_64.xml | 5 +- .../caps_2.12.0.aarch64.replies | 137 ++++++++++++++-- .../caps_2.12.0.ppc64.replies | 133 +++++++++++++-- .../caps_2.12.0.s390x.replies | 137 ++++++++++++++-- .../caps_2.12.0.x86_64.replies | 153 +++++++++++++++--- .../caps_3.0.0.ppc64.replies | 133 +++++++++++++-- .../caps_3.0.0.riscv32.replies | 129 ++++++++++++++- .../caps_3.0.0.riscv64.replies | 129 ++++++++++++++- .../caps_3.0.0.s390x.replies | 137 ++++++++++++++-- .../caps_3.0.0.x86_64.replies | 153 +++++++++++++++--- .../caps_3.1.0.ppc64.replies | 133 +++++++++++++-- .../caps_3.1.0.x86_64.replies | 153 +++++++++++++++--- .../caps_4.0.0.aarch64.replies | 137 ++++++++++++++-- .../caps_4.0.0.ppc64.replies | 133 +++++++++++++-- .../caps_4.0.0.riscv32.replies | 129 ++++++++++++++- .../caps_4.0.0.riscv64.replies | 129 ++++++++++++++- .../caps_4.0.0.s390x.replies | 137 ++++++++++++++-- .../caps_4.0.0.x86_64.replies | 153 +++++++++++++++--- .../caps_4.1.0.x86_64.replies | 145 +++++++++++++++-- .../caps_4.2.0.aarch64.replies | 141 ++++++++++++++-- .../caps_4.2.0.ppc64.replies | 133 +++++++++++++-- .../caps_4.2.0.s390x.replies | 137 ++++++++++++++-- .../caps_4.2.0.x86_64.replies | 145 +++++++++++++++-- .../caps_5.0.0.aarch64.replies | 126 +++++++++++++-- .../caps_5.0.0.ppc64.replies | 118 ++++++++++++-- .../caps_5.0.0.riscv64.replies | 114 ++++++++++++- .../caps_5.0.0.x86_64.replies | 130 +++++++++++++-- .../caps_5.1.0.sparc.replies | 114 ++++++++++++- .../caps_5.1.0.x86_64.replies | 130 +++++++++++++-- .../caps_5.2.0.aarch64.replies | 121 ++++++++++++-- .../caps_5.2.0.ppc64.replies | 113 +++++++++++-- .../caps_5.2.0.riscv64.replies | 109 ++++++++++++- .../caps_5.2.0.s390x.replies | 117 ++++++++++++-- .../caps_5.2.0.x86_64.replies | 125 ++++++++++++-- .../caps_6.0.0.s390x.replies | 130 +++++++++++++-- .../qemucapabilitiesdata/caps_6.0.0.s390x.xml | 1 + .../caps_6.0.0.x86_64.replies | 148 ++++++++++++++--- .../caps_6.0.0.x86_64.xml | 8 + .../caps_6.1.0.x86_64.replies | 138 ++++++++++++++-- .../caps_6.1.0.x86_64.xml | 1 + .../launch-security-sev.x86_64-2.12.0.args | 2 +- .../launch-security-sev.x86_64-6.0.0.args | 36 +++++ .../qemuxml2argvdata/launch-security-sev.xml | 2 +- tests/qemuxml2argvtest.c | 1 + 49 files changed, 4403 insertions(+), 468 deletions(-) create mode 100644 tests/qemuxml2argvdata/launch-security-sev.x86_64-6.0.0.args -- 2.31.1