]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuxmlconftest: Add a note that the pinned CPU model tests test also old-style QMP...
authorPeter Krempa <pkrempa@redhat.com>
Thu, 16 Jul 2026 13:51:02 +0000 (15:51 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 20 Jul 2026 11:11:16 +0000 (13:11 +0200)
qemu-11.1 switched to the new syntax. Rather than adding a redundant
test case add a comment that we use the pinned cpu tests for the old QMP
monitor too.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
tests/qemuxmlconftest.c

index a1389775b99b89754276c2a9fe268a6abb631699..df0b257cbefc334869a248dfb343d650877719b6 100644 (file)
@@ -2367,6 +2367,10 @@ mymain(void)
 
     /* host-model cpu expansion depends on the cpu reported by qemu and thus
      * we invoke it for all real capability dumps we have */
+
+    /* these test cases also test the old style of QMP monitor specification
+     * via '-mon' option which was replaced starting from qemu-11.1 with a
+     * QMP object */
     DO_TEST_CAPS_VER("cpu-host-model-kvm", "7.2.0");
     DO_TEST_CAPS_VER("cpu-host-model-kvm", "8.0.0");
     DO_TEST_CAPS_VER("cpu-host-model-kvm", "8.1.0");