All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/qtest: Do not use versioned pc-q35-5.0 machine anymore
@ 2025-12-23 21:11 Philippe Mathieu-Daudé
  2025-12-23 22:57 ` Fabiano Rosas
  2025-12-24  5:14 ` Akihiko Odaki
  0 siblings, 2 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-12-23 21:11 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Paolo Bonzini, Dmitry Fleytman, Fabiano Rosas,
	Stefan Hajnoczi, Darren Kenny, Richard Henderson, Thomas Huth,
	Alexander Bulekov, Qiuhao Li, Laurent Vivier, Bandan Das,
	Daniel P . Berrangé, Akihiko Odaki,
	Philippe Mathieu-Daudé

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>
---
Since all builds are blocked, could we apply as build-fix on master?
---
 tests/qtest/fuzz-e1000e-test.c | 2 +-
 tests/qtest/lpc-ich9-test.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/qtest/fuzz-e1000e-test.c b/tests/qtest/fuzz-e1000e-test.c
index 5052883fb6a..61f0553e9be 100644
--- a/tests/qtest/fuzz-e1000e-test.c
+++ b/tests/qtest/fuzz-e1000e-test.c
@@ -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 pc-q35");
 
     qtest_outl(s, 0xcf8, 0x80001010);
     qtest_outl(s, 0xcfc, 0xe1020000);
diff --git a/tests/qtest/lpc-ich9-test.c b/tests/qtest/lpc-ich9-test.c
index 8ac95b89f72..535099226ca 100644
--- a/tests/qtest/lpc-ich9-test.c
+++ b/tests/qtest/lpc-ich9-test.c
@@ -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 pc-q35 "
                    "-nographic -monitor none -serial none");
 
     qtest_outl(s, 0xcf8, 0x8000f840); /* PMBASE */
-- 
2.52.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] tests/qtest: Do not use versioned pc-q35-5.0 machine anymore
  2025-12-23 21:11 [PATCH] tests/qtest: Do not use versioned pc-q35-5.0 machine anymore Philippe Mathieu-Daudé
@ 2025-12-23 22:57 ` Fabiano Rosas
  2025-12-24  5:14 ` Akihiko Odaki
  1 sibling, 0 replies; 3+ messages in thread
From: Fabiano Rosas @ 2025-12-23 22:57 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, qemu-devel
  Cc: Peter Maydell, Paolo Bonzini, Dmitry Fleytman, Stefan Hajnoczi,
	Darren Kenny, Richard Henderson, Thomas Huth, Alexander Bulekov,
	Qiuhao Li, Laurent Vivier, Bandan Das, Daniel P . Berrangé,
	Akihiko Odaki, Philippe Mathieu-Daudé

Philippe Mathieu-Daudé <philmd@linaro.org> writes:

> 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>
> ---
> Since all builds are blocked, could we apply as build-fix on master?
> ---
>  tests/qtest/fuzz-e1000e-test.c | 2 +-
>  tests/qtest/lpc-ich9-test.c    | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/qtest/fuzz-e1000e-test.c b/tests/qtest/fuzz-e1000e-test.c
> index 5052883fb6a..61f0553e9be 100644
> --- a/tests/qtest/fuzz-e1000e-test.c
> +++ b/tests/qtest/fuzz-e1000e-test.c
> @@ -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 pc-q35");
>  
>      qtest_outl(s, 0xcf8, 0x80001010);
>      qtest_outl(s, 0xcfc, 0xe1020000);
> diff --git a/tests/qtest/lpc-ich9-test.c b/tests/qtest/lpc-ich9-test.c
> index 8ac95b89f72..535099226ca 100644
> --- a/tests/qtest/lpc-ich9-test.c
> +++ b/tests/qtest/lpc-ich9-test.c
> @@ -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 pc-q35 "
>                     "-nographic -monitor none -serial none");
>  
>      qtest_outl(s, 0xcf8, 0x8000f840); /* PMBASE */

Reviewed-by: Fabiano Rosas <farosas@suse.de>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] tests/qtest: Do not use versioned pc-q35-5.0 machine anymore
  2025-12-23 21:11 [PATCH] tests/qtest: Do not use versioned pc-q35-5.0 machine anymore Philippe Mathieu-Daudé
  2025-12-23 22:57 ` Fabiano Rosas
@ 2025-12-24  5:14 ` Akihiko Odaki
  1 sibling, 0 replies; 3+ messages in thread
From: Akihiko Odaki @ 2025-12-24  5:14 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, qemu-devel
  Cc: Peter Maydell, Paolo Bonzini, Dmitry Fleytman, Fabiano Rosas,
	Stefan Hajnoczi, Darren Kenny, Richard Henderson, Thomas Huth,
	Alexander Bulekov, Qiuhao Li, Laurent Vivier, Bandan Das,
	Daniel P . Berrangé

On 2025/12/24 6:11, Philippe Mathieu-Daudé wrote:
> 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: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-12-24  5:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-23 21:11 [PATCH] tests/qtest: Do not use versioned pc-q35-5.0 machine anymore Philippe Mathieu-Daudé
2025-12-23 22:57 ` Fabiano Rosas
2025-12-24  5:14 ` Akihiko Odaki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.