From: Peter Krempa <[email protected]>

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 <[email protected]>
---
 tests/qemuxmlconftest.c | 4 ++++
 1 file changed, 4 insertions(+)

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");
-- 
2.55.0

Reply via email to