diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-06-09 04:45:18 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-06-15 19:12:20 +0300 |
commit | 88c200d929c969408779dbae4c4fad32bc510373 (patch) | |
tree | d8120a23d4db97509022c68c71bf84cf117bf38b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b95273f1272398a9f7145de37703f1930244e465 (diff) | |
download | linux-88c200d929c969408779dbae4c4fad32bc510373.tar.xz |
KVM: VMX: Add helpers to identify interrupt type from intr_info
Add is_intr_type() and is_intr_type_n() to consolidate the boilerplate
code for querying a specific type of interrupt given an encoded value
from VMCS.VM_{ENTER,EXIT}_INTR_INFO, with and without an associated
vector respectively.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200609014518.26756-1-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions