diff options
author | Sean Christopherson <seanjc@google.com> | 2025-06-26 09:14:20 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-07-09 09:30:52 -0700 |
commit | e1ef1c57ff70751a62b93d513e7009155ea0b0c1 (patch) | |
tree | 91729ba148647f457ef707f6c3880e150d12b785 /tools/perf/scripts/python/libxed.py | |
parent | 05186d7a8e5b8a31be93728089c9c3fee4dab0a2 (diff) |
KVM: VMX: Add a macro to track which DEBUGCTL bits are host-owned
Add VMX_HOST_OWNED_DEBUGCTL_BITS to track which bits are host-owned, i.e.
need to be preserved when running the guest, to dedup the logic without
having to incur a memory load to get at kvm_x86_ops.HOST_OWNED_DEBUGCTL.
No functional change intended.
Suggested-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/all/aF1yni8U6XNkyfRf@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions