]> 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)
commit3586ae0a35429357da0925c0dcbcca25352711a3
treeff22fb39adaa08ea2f9e36ec795fdaaeb9720d83
parentced40c0e828eec45bedec37fb1ed438332a30149
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