diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-09-24 12:42:50 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-28 07:57:27 -0400 |
| commit | 7096cbfb6cb63420f333d0ba238d1a857ba3f290 (patch) | |
| tree | 862874fc6eee36ba3f21aafb1e6c0cd5246a5449 /tools/perf/scripts/python | |
| parent | dc46515cf838e37c602016cc905df051e06cb8ea (diff) | |
| download | cachepc-linux-7096cbfb6cb63420f333d0ba238d1a857ba3f290.tar.gz cachepc-linux-7096cbfb6cb63420f333d0ba238d1a857ba3f290.zip | |
KVM: VMX: Use "illegal GPA" helper for PT/RTIT output base check
Use kvm_vcpu_is_illegal_gpa() to check for a legal GPA when validating a
PT output base instead of open coding a clever, but difficult to read,
variant. Code readability is far more important than shaving a few uops
in a slow path.
No functional change intended.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200924194250.19137-6-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
