diff options
author | 2021-10-15 19:59:21 +0800 | |
---|---|---|
committer | 2021-10-18 14:07:19 -0400 | |
commit | d61863c66f9b443192997613cd6aeca3f65cc313 (patch) | |
tree | e70302a86262657a3699dde8a402d9e8be783362 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: kvm_stat: do not show halt_wait_ns (diff) | |
download | linux-dev-d61863c66f9b443192997613cd6aeca3f65cc313.tar.xz linux-dev-d61863c66f9b443192997613cd6aeca3f65cc313.zip |
KVM: VMX: Remove redundant handling of bus lock vmexit
Hardware may or may not set exit_reason.bus_lock_detected on BUS_LOCK
VM-Exits. Dealing with KVM_RUN_X86_BUS_LOCK in handle_bus_lock_vmexit
could be redundant when exit_reason.basic is EXIT_REASON_BUS_LOCK.
We can remove redundant handling of bus lock vmexit. Unconditionally Set
exit_reason.bus_lock_detected in handle_bus_lock_vmexit(), and deal with
KVM_RUN_X86_BUS_LOCK only in vmx_handle_exit().
Signed-off-by: Hao Xiang <hao.xiang@linux.alibaba.com>
Message-Id: <1634299161-30101-1-git-send-email-hao.xiang@linux.alibaba.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions