diff options
| author | Vitaly Kuznetsov <[email protected]> | 2019-08-28 09:59:05 +0200 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2019-09-24 13:37:17 +0200 |
| commit | 5a0165f6dde37fd16e85c86eccb895fd4f93305f (patch) | |
| tree | 5dd183903be838fc9058691e89ab89120305f136 /tools/perf/scripts/python | |
| parent | 956e255c59a5b64d1b3f16fdf2db306d74829e33 (diff) | |
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 <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions