With the introduction of CONFIG_KVM_HYPERV: https://lore.kernel.org/kvm/20231025152406.1879274-1-vkuznets@xxxxxxxxxx/ it becomes possible to build KVM without Hyper-V emulation support. Make Hyper-V tests in kvm-unit-tests handle such case with dignity. Vitaly Kuznetsov (4): x86: hyper-v: Use '-cpu host,hv_passhtrough' for Hyper-V tests x86: hyper-v: Use report_skip() in hyperv_stimer when pre-requisites are not met x86: hyper-v: Use 'goto' instead of putting the whole test in an 'if' branch in hyperv_synic x86: hyper-v: Unify hyperv_clock with other Hyper-V tests x86/hyperv_clock.c | 12 ++++----- x86/hyperv_stimer.c | 6 ++--- x86/hyperv_synic.c | 61 +++++++++++++++++++++++---------------------- x86/unittests.cfg | 8 +++--- 4 files changed, 43 insertions(+), 44 deletions(-) -- 2.41.0