aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorVitaly Kuznetsov <[email protected]>2022-03-25 14:21:38 +0100
committerPaolo Bonzini <[email protected]>2022-03-29 13:21:21 -0400
commit7ec37d1cbe17d8189d9562178d8b29167fe1c31a (patch)
tree0109bfd3ab51fd0b929481f3ea8c45aa76ae1e18 /tools/perf/scripts/python/stackcollapse.py
parentcde363ab7ca7aea7a853851cd6a6745a9e1aaf5e (diff)
KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq
When KVM_CAP_HYPERV_SYNIC{,2} is activated, KVM already checks for irqchip_in_kernel() so normally SynIC irqs should never be set. It is, however, possible for a misbehaving VMM to write to SYNIC/STIMER MSRs causing erroneous behavior. The immediate issue being fixed is that kvm_irq_delivery_to_apic() (kvm_irq_delivery_to_apic_fast()) crashes when called with 'irq.shorthand = APIC_DEST_SELF' and 'src == NULL'. Signed-off-by: Vitaly Kuznetsov <[email protected]> Message-Id: <[email protected]> Cc: [email protected] Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions