diff options
author | Vitaly Kuznetsov <[email protected]> | 2021-11-29 10:47:02 +0100 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-12-08 09:06:04 -0500 |
commit | b84155c38076b36d625043a06a2f1c90bde62903 (patch) | |
tree | 37b21b343dbcadb34eb359acf9c24bafec62093f /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 93b350f884c451d3cb75e6e3814266cf2d2afab1 (diff) |
KVM: VMX: Introduce vmx_msr_bitmap_l01_changed() helper
In preparation to enabling 'Enlightened MSR Bitmap' feature for Hyper-V
guests move MSR bitmap update tracking to a dedicated helper.
Note: vmx_msr_bitmap_l01_changed() is called when MSR bitmap might be
updated. KVM doesn't check if the bit we're trying to set is already set
(or the bit it's trying to clear is already cleared). Such situations
should not be common and a few false positives should not be a problem.
No functional change intended.
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Reviewed-by: Maxim Levitsky <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions