aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRadim Krčmář <[email protected]>2016-02-12 15:00:15 +0100
committerPaolo Bonzini <[email protected]>2016-02-16 18:48:36 +0100
commit4efd805fca5590af181f89ad122b8695c63b5f2c (patch)
treefb46888644286c0394f2dd04b1765698df7b032a /tools/perf/scripts/python
parent78db6a5037965429c04d708281f35a6e5562d31b (diff)
KVM: x86: fix *NULL on invalid low-prio irq
Smatch noticed a NULL dereference in kvm_intr_is_single_vcpu_fast that happens if VM already warned about invalid lowest-priority interrupt. Create a function for common code while fixing it. Fixes: 6228a0da8057 ("KVM: x86: Add lowest-priority support for vt-d posted-interrupts") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Radim Krčmář <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions