On 07/05/20 01:58, Sean Christopherson wrote: > 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. I squashed patch 1 and applied patch 2 separately. Thanks! Paolo > [*] https://lkml.kernel.org/r/20200505044644.16563-1-sean.j.christopherson@xxxxxxxxx > > 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(-) >