On Fri, May 29, 2026 at 16:12:20 +0200, Jiri Denemark via Devel wrote:
From: Jiri Denemark <jdenemar@redhat.com>
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> ---
Notes: Version 2: - new patch
...emu_10.0.0-q35.x86_64+amdsev-supported.xml | 1015 ++++++++ .../qemu_10.0.0-q35.x86_64-supported.xml | 1903 ++++++++++++++ ...u_10.1.0-q35.x86_64+inteltdx-supported.xml | 1064 ++++++++ .../qemu_10.1.0-q35.x86_64-supported.xml | 2252 +++++++++++++++++ .../qemu_10.2.0-q35.x86_64+mshv-supported.xml | 237 ++ .../qemu_10.2.0-q35.x86_64-supported.xml | 1358 ++++++++++ .../qemu_11.0.0-q35.x86_64+sgx-supported.xml | 1740 +++++++++++++ .../qemu_11.0.0-q35.x86_64-supported.xml | 1731 +++++++++++++ .../qemu_7.2.0-q35.x86_64-supported.xml | 1181 +++++++++ .../qemu_8.0.0-q35.x86_64-supported.xml | 1290 ++++++++++ .../qemu_8.1.0-q35.x86_64-supported.xml | 1548 +++++++++++ .../qemu_8.2.0-q35.x86_64-supported.xml | 1550 ++++++++++++ .../qemu_9.0.0-q35.x86_64-supported.xml | 1551 ++++++++++++ .../qemu_9.1.0-q35.x86_64-supported.xml | 1687 ++++++++++++ ...qemu_9.2.0-q35.x86_64+amdsev-supported.xml | 895 +++++++ .../qemu_9.2.0-q35.x86_64-supported.xml | 1745 +++++++++++++
Hmm, it almost feels excessive, but IIUC none of this is actually duplicate, since we don't test expansion elsewhere and this is a new feature.
diff --git a/tests/domaincapstest.c b/tests/domaincapstest.c index 9bbba6e89c..ed0210678f 100644 --- a/tests/domaincapstest.c +++ b/tests/domaincapstest.c @@ -289,6 +289,8 @@ doTestQemuInternal(const char *version,
if (flags & VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES) flag = "-expanded"; + else if (flags & VIR_CONNECT_GET_DOMAIN_CAPABILITIES_SUPPORTED_CPU_FEATURES) + flag = "-supported"; else flag = "";
@@ -360,6 +362,12 @@ doTestQemu(const char *inputDir G_GNUC_UNUSED, VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES, opaque) < 0) ret = -1; + + if (doTestQemuInternal(version, "q35", arch, variant, + VIR_DOMAIN_VIRT_KVM, + VIR_CONNECT_GET_DOMAIN_CAPABILITIES_SUPPORTED_CPU_FEATURES, + opaque) < 0) + ret = -1; }
if (doTestQemuInternal(version, NULL, arch, variant,
Reviewed-by: Peter Krempa <pkrempa@redhat.com>