On 2/13/24 10:10, Peter Maydell wrote:
On Mon, 12 Feb 2024 at 23:04, Helge Deller <del...@gmx.de> wrote:

On 2/12/24 22:16, Peter Maydell wrote:
This fails "make check", eg:
https://gitlab.com/qemu-project/qemu/-/jobs/6154451100

because when the qom-test etc tests run qemu-system-hppa, it
barfs with "qemu-system-hppa: no firmware provided".

That kind of firmware check needs to not fire when
using the qtest accel.

Ok. But how do people usually work around this kind of issue?
Test if the qtest accel is in use?
Ignore if the firmware can't be loaded?
Any hint would be great!

There's a qtest_enabled() function -- see eg hw/mips/malta.c
for an example of skipping the "fail on no firmware" check
when it's enabled. (There are a bunch of others in the tree too.)

Yes, I found that....
I've used that function in the latest pull request which I sent...
Thanks!
Helge

Reply via email to