From: Peter Krempa Date: Thu, 16 Jul 2026 13:51:02 +0000 (+0200) Subject: qemuxmlconftest: Add a note that the pinned CPU model tests test also old-style QMP... X-Git-Tag: v12.6.0-rc1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=624f1391ef58f59afdedb42da6635d80504e402b;p=thirdparty%2Flibvirt.git qemuxmlconftest: Add a note that the pinned CPU model tests test also old-style QMP monitor instantation 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 Reviewed-by: Pavel Hrdina --- diff --git a/tests/qemuxmlconftest.c b/tests/qemuxmlconftest.c index a1389775b9..df0b257cbe 100644 --- a/tests/qemuxmlconftest.c +++ b/tests/qemuxmlconftest.c @@ -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");