To make Hyper-V tests skip gracefully when Hyper-V emulation support is missing in KVM run all tests with '-cpu host,hv_passhtrough' which is supposed to enable all enlightenments. Tests can (and will) check CPUID and report_skip() when the required features are missing. Signed-off-by: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> --- x86/unittests.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/x86/unittests.cfg b/x86/unittests.cfg index 3fe59449b650..a5574b105efc 100644 --- a/x86/unittests.cfg +++ b/x86/unittests.cfg @@ -451,25 +451,25 @@ arch = x86_64 [hyperv_synic] file = hyperv_synic.flat smp = 2 -extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev +extra_params = -cpu host,hv_passthrough -device hyperv-testdev groups = hyperv [hyperv_connections] file = hyperv_connections.flat smp = 2 -extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev +extra_params = -cpu host,hv_passthrough -device hyperv-testdev groups = hyperv [hyperv_stimer] file = hyperv_stimer.flat smp = 2 -extra_params = -cpu kvm64,hv_vpindex,hv_time,hv_synic,hv_stimer -device hyperv-testdev +extra_params = -cpu host,hv_passthrough -device hyperv-testdev groups = hyperv [hyperv_clock] file = hyperv_clock.flat smp = 2 -extra_params = -cpu kvm64,hv_time +extra_params = -cpu host,hv_passthrough arch = x86_64 groups = hyperv check = /sys/devices/system/clocksource/clocksource0/current_clocksource=tsc -- 2.41.0