Two improvements for fast CR3 switch, implemented with nested VMX in mind, but they should be helpful in general. Sean Christopherson (2): KVM: x86/mmu: Ignore guest CR3 on fast root switch for direct MMU KVM: x86/mmu: Reuse the current root if possible for fast switch arch/x86/kvm/mmu/mmu.c | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) -- 2.24.1