]> git.baikalelectronics.ru Git - kernel.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)
commite9d8e3712624e428188a0f7356553eb29f187e10
treeff22fb39adaa08ea2f9e36ec795fdaaeb9720d83
parent7e64c9dbfe8a6ebf1c82ece10f4154f4a9b36a40
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