Re: [PATCH v3 0/6] qtests: Check accelerator available at runtime via QMP 'query-accels'

2021-04-15 Thread Philippe Mathieu-Daudé
On 4/15/21 2:30 PM, Claudio Fontana wrote: > Hi Philippe, > > does the tests/qtest/arm-cpu-features.c kvm_enabled() function need to be > replaced by the use of this new command? > > Maybe something to add to the series? > > The use of "kvm_enabled()" in this function is particularly confused,

Re: [PATCH v3 0/6] qtests: Check accelerator available at runtime via QMP 'query-accels'

2021-04-15 Thread Claudio Fontana
Hi Philippe, does the tests/qtest/arm-cpu-features.c kvm_enabled() function need to be replaced by the use of this new command? Maybe something to add to the series? The use of "kvm_enabled()" in this function is particularly confused, because it matches the sysemu/kvm.h function name with com

[PATCH v3 0/6] qtests: Check accelerator available at runtime via QMP 'query-accels'

2021-04-15 Thread Philippe Mathieu-Daudé
Hi, This series aims at having accelerator-independent qtests by querying a QEMU instance at runtime to check the list of built-in accelerators. First we add the 'query-accels' QMP command, then we add the qtest_has_accel() method to libqtest, finally we use this new method to allow running bios-