]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: nVMX: remove unnecessary vmwrite from L2->L1 vmexit
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Jan 2018 21:53:42 +0000 (22:53 +0100)
committerRadim Krčmář <rkrcmar@redhat.com>
Tue, 16 Jan 2018 15:50:23 +0000 (16:50 +0100)
commit07f36616cde482a9fd65da9a64f504190c7a0edb
treeff22fb39adaa08ea2f9e36ec795fdaaeb9720d83
parent25a2e4fe8ef719de564370349dc408ac7263f455
KVM: nVMX: remove unnecessary vmwrite from L2->L1 vmexit

The POSTED_INTR_NV field is constant (though it differs between the vmcs01 and
vmcs02), there is no need to reload it on vmexit to L1.

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