aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorColeman Dietsch <[email protected]>2022-08-08 14:06:07 -0500
committerPaolo Bonzini <[email protected]>2022-08-10 15:08:25 -0400
commitc036899136355758dcd88878145036ab4d9c1f26 (patch)
treef688e74105ee4732c7c11fac64ce835b95081c4a /tools/perf/scripts/python/intel-pt-events.py
parentaf735db31285fa699384c649be72a9f32ecbb665 (diff)
KVM: x86/xen: Stop Xen timer before changing IRQ
Stop Xen timer (if it's running) prior to changing the IRQ vector and potentially (re)starting the timer. Changing the IRQ vector while the timer is still running can result in KVM injecting a garbage event, e.g. vm_xen_inject_timer_irqs() could see a non-zero xen.timer_pending from a previous timer but inject the new xen.timer_virq. Fixes: 536395260582 ("KVM: x86/xen: handle PV timers oneshot mode") Cc: [email protected] Link: https://syzkaller.appspot.com/bug?id=8234a9dfd3aafbf092cc5a7cd9842e3ebc45fc42 Reported-by: [email protected] Signed-off-by: Coleman Dietsch <[email protected]> Reviewed-by: Sean Christopherson <[email protected]> Acked-by: David Woodhouse <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions