diff options
| author | Sean Christopherson <[email protected]> | 2020-03-02 15:56:47 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-03-16 17:58:28 +0100 |
| commit | 90d2f60f41f73b90768554e5a30b1cfedd167731 (patch) | |
| tree | 3ab7a33224fb99fc5f7ec14df46864cf9053313c /tools/perf/scripts/python/futex-contention.py | |
| parent | c10398b6d0ddb9c8234890828ab83341e11f9840 (diff) | |
KVM: x86: Use KVM cpu caps to track UMIP emulation
Set UMIP in kvm_cpu_caps when it is emulated by VMX, even though the
bit will effectively be dropped by do_host_cpuid(). This allows
checking for UMIP emulation via kvm_cpu_caps instead of a dedicated
kvm_x86_ops callback.
No functional change intended.
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions