summaryrefslogtreecommitdiffstats
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorJan Kiszka2012-07-09 16:42:30 +0200
committerAvi Kivity2012-07-10 10:31:04 +0200
commit3db3659bf60094657e1465cc809acb09551816ee (patch)
treefd73a6f5194f5d7e322c1a15a3f571fcc86144b0 /cpu-exec.c
parentkvm: expose tsc deadline timer feature to guest (diff)
downloadqemu-3db3659bf60094657e1465cc809acb09551816ee.tar.gz
qemu-3db3659bf60094657e1465cc809acb09551816ee.tar.xz
qemu-3db3659bf60094657e1465cc809acb09551816ee.zip
apic: Resolve potential endless loop around apic_update_irq
Commit d96e173769 refactored the reinjection of pending PIC interrupts. However, it missed the potential loop of apic_update_irq -> apic_deliver_pic_intr -> apic_local_deliver -> apic_set_irq -> apic_update_irq that /could/ occur if LINT0 is injected as APIC_DM_FIXED and that vector is currently blocked via TPR. Resolve this by reinjecting only where it matters: inside apic_get_interrupt. This function may clear a vector while a PIC-originated reason still exists. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions