]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/qtest: Do not use versioned pc-q35-5.0 machine anymore
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 24 Dec 2025 08:57:14 +0000 (09:57 +0100)
committerFabiano Rosas <farosas@suse.de>
Fri, 26 Dec 2025 15:06:46 +0000 (12:06 -0300)
As of QEMU v10.2.0, the v5.0.0 machines are not usable anymore.

Use the latest x86 q35 machine instead, otherwise we get:

  $ qemu-system-x86_64 -M pc-q35-5.0
  qemu-system-x86_64: unsupported machine type: "pc-q35-5.0"
  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.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Link: https://lore.kernel.org/qemu-devel/20251224085714.83169-1-philmd@linaro.org
Signed-off-by: Fabiano Rosas <farosas@suse.de>
tests/qtest/fuzz-e1000e-test.c
tests/qtest/lpc-ich9-test.c

index 5052883fb6a8e44b34680681019d70fcc9eb3ac4..b66a2e2313b557a40167a8c43c8a4f1980d46564 100644 (file)
@@ -17,7 +17,7 @@ static void test_lp1879531_eth_get_rss_ex_dst_addr(void)
 {
     QTestState *s;
 
-    s = qtest_init("-nographic -monitor none -serial none -M pc-q35-5.0");
+    s = qtest_init("-nographic -monitor none -serial none -M q35");
 
     qtest_outl(s, 0xcf8, 0x80001010);
     qtest_outl(s, 0xcfc, 0xe1020000);
index 8ac95b89f7292a3f29dc6d413f478b5bbff21ba8..460d459c70128f44f61a9126b77543f59b406125 100644 (file)
@@ -15,7 +15,7 @@ static void test_lp1878642_pci_bus_get_irq_level_assert(void)
 {
     QTestState *s;
 
-    s = qtest_init("-M pc-q35-5.0 "
+    s = qtest_init("-M q35 "
                    "-nographic -monitor none -serial none");
 
     qtest_outl(s, 0xcf8, 0x8000f840); /* PMBASE */