Vitaly Kuznetsov 5a0165f6dd KVM: x86: announce KVM_CAP_HYPERV_ENLIGHTENED_VMCS support only when it is available
It was discovered that after commit 65efa61dc0d5 ("selftests: kvm: provide
common function to enable eVMCS") hyperv_cpuid selftest is failing on AMD.
The reason is that the commit changed _vcpu_ioctl() to vcpu_ioctl() in the
test and this one can't fail.

Instead of fixing the test is seems to make more sense to not announce
KVM_CAP_HYPERV_ENLIGHTENED_VMCS support if it is definitely missing
(on svm and in case kvm_intel.nested=0).

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-09-24 13:37:17 +02:00
..
2019-09-20 08:36:47 -07:00
2019-07-14 20:36:12 +02:00
2019-09-20 11:48:06 -07:00
2019-09-20 11:48:06 -07:00
2019-09-19 13:27:23 -07:00
2019-09-18 10:04:39 -07:00
2019-09-15 21:37:14 +02:00
2019-09-19 13:27:23 -07:00
2019-09-20 11:48:06 -07:00