qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3] system: Select HVF by default when no other accelerator i


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3] system: Select HVF by default when no other accelerator is available
Date: Tue, 3 Dec 2024 16:53:31 +0100
User-agent: Mozilla Thunderbird

On 3/12/24 10:42, Philippe Mathieu-Daudé wrote:
When testing with a HVF-only binary, we get:

    3/12 qemu:func-quick+func-aarch64 / func-aarch64-version                    
                  ERROR            0.29s   exit status 1
   stderr:
   Traceback (most recent call last):
     File "tests/functional/test_version.py", line 22, in 
test_qmp_human_info_version
       self.vm.launch()
     File "machine/machine.py", line 461, in launch
       raise VMLaunchFailure(
   qemu.machine.machine.VMLaunchFailure: ConnectError: Failed to establish 
session: EOFError
       Exit code: 1
       Command: build/qemu-system-aarch64 -display none -vga none -chardev 
socket,id=mon,fd=5 -mon chardev=mon,mode=control -machine none -nodefaults
       Output: qemu-system-aarch64: No accelerator selected and no default 
accelerator available

Fix by checking for HVF in configure_accelerators() and using
it by default when no other accelerator is available.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
v2 was 
20241203091036.59898-1-philmd@linaro.org/">https://lore.kernel.org/qemu-devel/20241203091036.59898-1-philmd@linaro.org/
---
  system/vl.c | 3 +++
  1 file changed, 3 insertions(+)

Patch queued.



reply via email to

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