summaryrefslogtreecommitdiffstats
path: root/REPORTING-BUGS
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2009-07-05 17:48:11 +0200
committerAvi Kivity <avi@redhat.com>2009-08-09 10:45:49 +0200
commitb4a2f5e723e4f7df46731106faf9e2405673c073 (patch)
tree98766bcb94182957b27b9bdd371c742d927da951 /REPORTING-BUGS
parentKVM: MMU: limit rmap chain length (diff)
downloadlinux-b4a2f5e723e4f7df46731106faf9e2405673c073.tar.xz
linux-b4a2f5e723e4f7df46731106faf9e2405673c073.zip
KVM: Avoid redelivery of edge interrupt before next edge
The check for an edge is broken in current ioapic code. ioapic->irr is cleared on each edge interrupt by ioapic_service() and this makes old_irr != ioapic->irr condition in kvm_ioapic_set_irq() to be always true. The patch fixes the code to properly recognise edge. Some HW emulation calls set_irq() without level change. If each such call is propagated to an OS it may confuse a device driver. This is the case with keyboard device emulation and Windows XP x64 installer on SMP VM. Each keystroke produce two interrupts (down/up) one interrupt is submitted to CPU0 and another to CPU1. This confuses Windows somehow and it ignores keystrokes. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions