KVM: nVMX: don't reset kvm mmu twice
authorWanpeng Li <wanpeng.li@hotmail.com>
Sun, 12 Mar 2017 08:53:52 +0000 (00:53 -0800)
committerRadim Krčmář <rkrcmar@redhat.com>
Mon, 20 Mar 2017 15:25:06 +0000 (16:25 +0100)
commit6d1b3ad2cd87150fc89bad2331beab173a8ad24d
tree8306abf17bab87bb3ac1d69e9dd11ee3e7d254ec
parent49e190ec332e96ba28f24b86f7a92f614707819b
KVM: nVMX: don't reset kvm mmu twice

kvm mmu is reset once successfully loading CR3 as part of emulating vmentry
in nested_vmx_load_cr3(). We should not reset kvm mmu twice.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c