qemu-ppc
[Top][All Lists]
Advanced

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

Re: [PATCH 8/9] avocado/ppc_prep_40p.py: check TCG accel in all tests


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 8/9] avocado/ppc_prep_40p.py: check TCG accel in all tests
Date: Thu, 10 Mar 2022 23:37:15 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1

On 10/3/22 19:30, Daniel Henrique Barboza wrote:
All tests in the file times out when running in an IBM POWER host and
--disable-tcg with an error like the following:

         Command: ./qemu-system-ppc -display none -vga none (...)
-machine 40p (...)
         Output: qemu-system-ppc: Register sync failed... If you're using
kvm-hv.ko, only "-cpu host" is possible
qemu-system-ppc: kvm_init_vcpu: kvm_arch_init_vcpu failed (0): Invalid argument

Since we don't have a way to detect whether the host is running kvm_hv
or kvm_pr, skip all tests if TCG is not available.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
---
  tests/avocado/ppc_prep_40p.py | 6 ++++++
  1 file changed, 6 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

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