@samitouri / QOSamiQemu / commits / e8d693e12a

tests/qtest: Do not use versioned pc-q35-5.2 machine anymore

As of QEMU v11.1.0, the v5.2.0 machines are not usable anymore. Use the latest x86 q35 machine instead, otherwise we get: $ qemu-system-x86_64 -M pc-q35-5.2 qemu-system-x86_64: unsupported machine type: "pc-q35-5.2" Use -machine help to list supported machines See commit a35f8577a07 ("include/hw: add macros for deprecation & removal of versioned machines") and f59ee044067 ("include/hw/boards: cope with dev/rc versions in deprecation checks") for explanation on automatically removed versioned machines. This commit message is taken from commit 9eef3854d309 ("tests/qtest: Do not use versioned pc-q35-5.0 machine anymore") by Philippe Mathieu-Daudé <philmd@linaro.org>. Cc: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-ID: <20260811183144.190135-1-stefanha@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

Stefan Hajnoczi committed Aug 11, 2026 at 14:31 UTC e8d693e12af9cbb89d724baadfcc08559669e279
1 file changed +1 -1
tests/qtest/fuzz-virtio-scsi-test.c
+1 -1
@@ -19,7 +19,7 @@ static void test_mmio_oob_from_memory_region_cache(void)
19 {
20 QTestState *s;
21
22 - s = qtest_init("-M pc-q35-5.2 -m 512M "
22 + s = qtest_init("-M q35 -m 512M "
23 "-device virtio-scsi,num_queues=8,addr=03.0 ");
24
25 qtest_outl(s, 0xcf8, 0x80001811);