On 10/07/20 10:50, Thomas Huth wrote: > Some of the qtests use "-accel kvm -accel tcg" to run real guest code. > This causes some error messages when kvm is not available. We do not > really care about these messages since the fallback to tcg is expected > here. So let's silence them to avoid that they spoil the output of > the tests. > > Unfortunately, we can not use the qtest_enabled() wrapper in this case, > since the qtest accelerator itself is not initialized. Thus we have to > test for the qtest_chrdev variable instead.
I wonder if "-accel kvm -accel tcg" should warn at all. I can understand warning if we're running some /usr/bin/qemu-kvm binary, but in this case the user has explicitly asked for a fallback. Paolo
