Re: [PULL v2 02/44] tests: qtest: add qtest_has_accel() to check if tested binary supports accelerator

2021-10-26 Thread Igor Mammedov
On Fri, 22 Oct 2021 09:04:43 -0400 Jason Andryuk wrote: > On Wed, Oct 20, 2021 at 6:23 AM Michael S. Tsirkin wrote: > > > > From: Igor Mammedov > > > > Currently it is not possible to create tests that have KVM as a hard > > requirement on a host that doesn't support KVM for tested target > >

Re: [PULL v2 02/44] tests: qtest: add qtest_has_accel() to check if tested binary supports accelerator

2021-10-22 Thread Jason Andryuk
On Wed, Oct 20, 2021 at 6:23 AM Michael S. Tsirkin wrote: > > From: Igor Mammedov > > Currently it is not possible to create tests that have KVM as a hard > requirement on a host that doesn't support KVM for tested target > binary (modulo going through the trouble of compiling out > the

[PULL v2 02/44] tests: qtest: add qtest_has_accel() to check if tested binary supports accelerator

2021-10-20 Thread Michael S. Tsirkin
From: Igor Mammedov Currently it is not possible to create tests that have KVM as a hard requirement on a host that doesn't support KVM for tested target binary (modulo going through the trouble of compiling out the offending test case). Following scenario makes test fail when it's run on non