aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2020-06-08 18:45:18 -0700
committerPaolo Bonzini <[email protected]>2020-06-15 12:12:20 -0400
commit88c200d929c969408779dbae4c4fad32bc510373 (patch)
treed8120a23d4db97509022c68c71bf84cf117bf38b /lib/mpi/mpi-add.c
parentb95273f1272398a9f7145de37703f1930244e465 (diff)
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 <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions