On Fri, 16 Aug 2024 15:01:37 +0200, Vitaly Kuznetsov wrote: > Commit 6dac1195181c ("KVM: selftests: Make Hyper-V tests explicitly require > KVM Hyper-V support") wrongfully added KVM_CAP_HYPERV_DIRECT_TLBFLUSH > requirement to hyperv_evmcs/hyperv_svm_test tests. The capability is only set > when KVM runs on top of Hyper-V. The result is that both tests just skip when > launched on bare metal. Add the required infrastructure and check for the > correct CPUID bit in KVM_GET_SUPPORTED_HV_CPUID instead. > > [...] Applied to kvm-x86 selftests, thanks! [1/2] KVM: selftests: Move Hyper-V specific functions out of processor.c https://github.com/kvm-x86/linux/commit/24a7e944966c [2/2] KVM: selftests: Re-enable hyperv_evmcs/hyperv_svm_test on bare metal https://github.com/kvm-x86/linux/commit/d8414067cc17 -- https://github.com/kvm-x86/linux/tree/next