[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200506235850.22600-1-sean.j.christopherson@intel.com>
Date: Wed, 6 May 2020 16:58:48 -0700
From: Sean Christopherson <sean.j.christopherson@...el.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: Sean Christopherson <sean.j.christopherson@...el.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [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/20200505044644.16563-1-sean.j.christopherson@intel.com
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(-)
--
2.26.0
Powered by blists - more mailing lists