QEMU-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] target/arm: Fix functional test failures in KVM-only builds
@ 2026-05-07 19:47 Peter Maydell
  2026-05-07 19:47 ` [PATCH 1/6] hw/remote/machine.c: Mark x-remote machine as OK for AArch64 and AArch32 Peter Maydell
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: Peter Maydell @ 2026-05-07 19:47 UTC (permalink / raw)
  To: qemu-arm, qemu-devel
  Cc: Elena Ufimtseva, Jagannathan Raman, Gustavo Romero,
	Alex Bennée, Pierrick Bouvier

If you build QEMU with --disable-tcg on an AArch64 system, some of the
"make check-functional" tests fail. This patchset fixes them.

The first patch fixes a bug in QEMU proper, where we broke the
"x-remote" machine because we forgot to mark it up as being
OK to expose in the qemu-system-arm and qemu-system-aarch64
binaries, the way we do for "none" and for all the actual Arm
machine types.

The rest are tweaks to the tests:
 * tests that run '-machine virt,virtualization=on' need to
   check for failure because the machine reports that the hypervisor
   can't support nested virt
 * tests that use a specific CPU type need to either be
   restricted to TCG-only, or else changed to use 'max' instead
   (since that's the only CPU that will work on both TCG and KVM)

thanks
-- PMM

Peter Maydell (6):
  hw/remote/machine.c: Mark x-remote machine as OK for AArch64 and
    AArch32
  tests/functional/test_virt_vbsa: Skip UEFI test if virtualization not
    supported
  tests/functional/test_kvm.py: Use -cpu max, not cortex-a72
  tests/functional/test_kvm.py: Skip if virtualization not supported
  tests/functional/test_hotplug_pci.py: Require TCG
  tests/functional/test_tuxrun: Restrict to TCG

 hw/remote/machine.c                          |  3 +++
 tests/functional/aarch64/test_hotplug_pci.py |  1 +
 tests/functional/aarch64/test_kvm.py         | 12 ++++++++++--
 tests/functional/aarch64/test_tuxrun.py      |  2 ++
 tests/functional/aarch64/test_virt_vbsa.py   | 10 +++++++++-
 5 files changed, 25 insertions(+), 3 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2026-07-20 15:08 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-07 19:47 [PATCH 0/6] target/arm: Fix functional test failures in KVM-only builds Peter Maydell
2026-05-07 19:47 ` [PATCH 1/6] hw/remote/machine.c: Mark x-remote machine as OK for AArch64 and AArch32 Peter Maydell
2026-05-08  8:08   ` Philippe Mathieu-Daudé
2026-07-20 12:39   ` Philippe Mathieu-Daudé
2026-07-20 14:34     ` Pierrick Bouvier
2026-07-20 15:07     ` Stefan Hajnoczi
2026-05-07 19:47 ` [PATCH 2/6] tests/functional/test_virt_vbsa: Skip UEFI test if virtualization not supported Peter Maydell
2026-05-08  8:09   ` Philippe Mathieu-Daudé
2026-05-07 19:47 ` [PATCH 3/6] tests/functional/test_kvm.py: Use -cpu max, not cortex-a72 Peter Maydell
2026-05-08  8:10   ` Philippe Mathieu-Daudé
2026-05-08 20:51   ` Richard Henderson
2026-05-07 19:47 ` [PATCH 4/6] tests/functional/test_kvm.py: Skip if virtualization not supported Peter Maydell
2026-05-08  8:09   ` Philippe Mathieu-Daudé
2026-05-08 20:52   ` Richard Henderson
2026-05-07 19:47 ` [PATCH 5/6] tests/functional/test_hotplug_pci.py: Require TCG Peter Maydell
2026-05-08  7:58   ` Philippe Mathieu-Daudé
2026-05-08 20:52   ` Richard Henderson
2026-05-07 19:47 ` [PATCH 6/6] tests/functional/test_tuxrun: Restrict to TCG Peter Maydell
2026-05-08  7:59   ` Philippe Mathieu-Daudé
2026-05-08 20:52   ` Richard Henderson
2026-05-07 20:54 ` [PATCH 0/6] target/arm: Fix functional test failures in KVM-only builds Pierrick Bouvier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox