Skip to content

KVM: nVMX: Skip IPBP on nested VMCS switch

Sean Christopherson kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: nVMX: Refactor IBPB handling on VMCS switch to genericize codearch/x86/kvm/vmx/nested.c arch/x86/kvm/vmx/vmx.c arch/x86/kvm/vmx/vmx.h+16 -130 replies
2/2KVM: nVMX: Skip IPBP when switching between vmcs01 and vmcs02, reduxarch/x86/kvm/vmx/nested.c arch/x86/kvm/vmx/vmx.c arch/x86/kvm/vmx/vmx.h+3 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: nVMX: Skip IPBP on nested VMCS switch

Or as Jim would say, "Really skip IPBP on nested VMCS switch" :-D

Patch 1 is the delta between kvm/queue and v3 of the original patch[*], i.e. I just cherry-picked v3 and fixed the conflicts.

Patch 2 applies the "no IPBP" logic to copy_vmcs02_to_vmcs12_rare().

Feel free to sqaush both of these to commit 7407a52f23732 ("KVM: nVMX:
Skip IBPB when switching between vmcs01 and vmcs02") if you so desire.

[*] https://lkml.kernel.org/r/[email protected]

Sean Christopherson (2):
KVM: nVMX: Refactor IBPB handling on VMCS switch to genericize code
KVM: nVMX: Skip IPBP when switching between vmcs01 and vmcs02, redux

 arch/x86/kvm/vmx/nested.c | 13 +++----------
 arch/x86/kvm/vmx/vmx.c    | 19 ++++++++++++++-----
 arch/x86/kvm/vmx/vmx.h    |  4 ++--
 3 files changed, 19 insertions(+), 17 deletions(-)
Signature · 1 line
2.26.0