Skip to content

KVM: x86: fix a couple of issues with Enlightened VMCS enablement

Vitaly Kuznetsov kvm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: x86: hyper-v: don't crash on KVM_GET_SUPPORTED_HV_CPUID when kvm_intel.nested is disabledarch/x86/kvm/hyperv.c arch/x86/kvm/svm.c arch/x86/kvm/vmx/vmx.c+6 -82 replies
2/3KVM: x86: svm: remove unneeded nested_enable_evmcs() hookarch/x86/kvm/svm.c+1 -81 reply
3/3KVM: x86: announce KVM_CAP_HYPERV_ENLIGHTENED_VMCS support only when it is availablearch/x86/kvm/x86.c+2 -13 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchJim Mattson
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] KVM: x86: fix a couple of issues with Enlightened VMCS enablement

It was discovered that:
- hyperv_cpuid test fails on AMD
- hyperv_cpuid test crashes kernel on Intel when nested=0 The test itself is good, we need to fix the issues.

Vitaly Kuznetsov (3):
KVM: x86: hyper-v: don't crash on KVM_GET_SUPPORTED_HV_CPUID when
kvm_intel.nested is disabled
KVM: x86: svm: remove unneeded nested_enable_evmcs() hook
KVM: x86: announce KVM_CAP_HYPERV_ENLIGHTENED_VMCS support only when
it is available

 arch/x86/kvm/hyperv.c  |  5 ++++-
 arch/x86/kvm/svm.c     | 17 ++---------------
 arch/x86/kvm/vmx/vmx.c |  1 +
 arch/x86/kvm/x86.c     |  3 ++-
 4 files changed, 9 insertions(+), 17 deletions(-)
Signature · 1 line
2.20.1