KVM: nVMX: Bug fixes and cleanup
Status from this message: Queued, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 2 repliesApplied
- v17 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Rebased to kvm/queue, commit e1ba1a15af73 ("KVM: SVM: Enable INVPCID feature on AMD").
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | KVM: nVMX: Reset the segment cache when stuffing guest segsarch/ | +2 | 0 replies | |
| 2/7 | KVM: nVMX: Reload vmcs01 if getting vmcs12's pages failsarch/ | +3 | 0 replies | |
| 3/7 | KVM: nVMX: Explicitly check for valid guest state for !unrestricted guestarch/ arch/ arch/ | +12 | 1 reply | |
| 4/7 | KVM: nVMX: Move free_nested() below vmx_switch_vmcs()arch/ | +44 | 0 replies | |
| 5/7 | KVM: nVMX: Ensure vmcs01 is the loaded VMCS when freeing nested statearch/ | +3 | 0 replies | |
| 6/7 | KVM: nVMX: Drop redundant VMCS switch and free_nested() callarch/ | +0 | 0 replies | |
| 7/7 | KVM: nVMX: WARN on attempt to switch the currently loaded VMCSarch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/7] KVM: nVMX: Bug fixes and cleanup
Fix for a brutal segment caching bug that manifested as random nested VM-Enter failures when running with unrestricted guest disabled. A few more bug fixes and cleanups for stuff found by inspection when hunting down the caching issue.
v2:
- Rebased to kvm/queue, commit e1ba1a15af73 ("KVM: SVM: Enable INVPCID feature on AMD").
Sean Christopherson (7):
KVM: nVMX: Reset the segment cache when stuffing guest segs
KVM: nVMX: Reload vmcs01 if getting vmcs12's pages fails
KVM: nVMX: Explicitly check for valid guest state for !unrestricted
guest
KVM: nVMX: Move free_nested() below vmx_switch_vmcs()
KVM: nVMX: Ensure vmcs01 is the loaded VMCS when freeing nested state
KVM: nVMX: Drop redundant VMCS switch and free_nested() call
KVM: nVMX: WARN on attempt to switch the currently loaded VMCS
arch/x86/kvm/vmx/nested.c | 103 ++++++++++++++++++++------------------ arch/x86/kvm/vmx/vmx.c | 8 +-- arch/x86/kvm/vmx/vmx.h | 9 ++++ 3 files changed, 65 insertions(+), 55 deletions(-)
Signature · 1 line
2.28.0