aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2019-05-07 09:06:33 -0700
committerPaolo Bonzini <[email protected]>2019-06-18 11:47:35 +0200
commitca2f5466f854184f1753ecb526f0e21a353a25e7 (patch)
tree01dbe85c2b1cb63f5f40392916f42823401482ad /tools/perf/scripts/python/syscall-counts.py
parent73cb85568433feadb79e963bf2efba9b3e9ae3df (diff)
KVM: nVMX: Don't speculatively write virtual-APIC page address
The VIRTUAL_APIC_PAGE_ADDR in vmcs02 is guaranteed to be updated before it is consumed by hardware, either in nested_vmx_enter_non_root_mode() or via the KVM_REQ_GET_VMCS12_PAGES callback. Avoid an extra VMWRITE and only stuff a bad value into vmcs02 when mapping vmcs12's address fails. This also eliminates the need for extra comments to connect the dots between prepare_vmcs02_early() and nested_get_vmcs12_pages(). Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions