qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/5] --disable-tcg qtest/avocado fixes for ppc64


From: Cédric Le Goater
Subject: Re: [PATCH 0/5] --disable-tcg qtest/avocado fixes for ppc64
Date: Mon, 14 Mar 2022 16:22:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2

On 3/3/22 16:35, Daniel Henrique Barboza wrote:
Hi,

'make check' and 'make check-avocado' in a ppc64 host, using a QEMU
built with --disable-tcg, fails in a handful of tests/files due to the
lack of TCG support not being accounted for. The tests usually fall back
to KVM acceleration, and when running in an IBM POWER server this accel
type isn't able to run any other machine but 'pseries'.

This series aims to fix it by checking for CONFIG_TCG in
qtest/meson.build, and using require_accelerator('tcg') in avocado
tests. I avoided changing the behavior when running the tests in other
host architectures because I can't assert about how KVM behaves in x86 and
aarch64. Patches 1, 2 and 4 were limited to ppc/ppc64 tests only because
of that.

Patch 5 is something that I am fairly confident that affects all archs
so the change is made in the common code for everyone.


Daniel Henrique Barboza (5):
   qtest/meson.build: check CONFIG_TCG for prom-env-test in qtests_ppc
   qtest/meson.build: check CONFIG_TCG for boot-serial-test in qtests_ppc
   avocado/boot_linux_console.py: check for tcg in test_ppc_powernv8/9
   avocado/boot_linux_console.py: check tcg accel in test_ppc64_e500
   avocado/replay_kernel.py: make tcg-icount check in run_vm()

  tests/avocado/boot_linux_console.py | 5 +++++
  tests/avocado/replay_kernel.py      | 4 ++++
  tests/qtest/meson.build             | 4 +++-
  3 files changed, 12 insertions(+), 1 deletion(-)



Queued for 7.0

Thanks,

C.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]