commit | a49700b66e3523947f0e19c761891cc7c510d9fb | [log] [tgz] |
---|---|---|
author | Sean Christopherson <sean.j.christopherson@intel.com> | Tue May 07 09:06:34 2019 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 18 11:47:35 2019 +0200 |
tree | d97f52bd51508683f470c1c1787852e5d3b94774 | |
parent | ca2f5466f854184f1753ecb526f0e21a353a25e7 [diff] |
KVM: nVMX: Don't speculatively write APIC-access page address If nested_get_vmcs12_pages() fails to map L1's APIC_ACCESS_ADDR into L2, then it disables SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES in vmcs02. In other words, the APIC_ACCESS_ADDR in vmcs02 is guaranteed to be written with the correct value before being consumed by hardware, drop the unneessary VMWRITE. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>