OpenCloudOS-Kernel/virt/kvm
Avi Kivity 4fa6b9c5dc KVM: ioapic: fix lost interrupt when changing a device's irq
The ioapic acknowledge path translates interrupt vectors to irqs.  It
currently uses a first match algorithm, stopping when it finds the first
redirection table entry containing the vector.  That fails however if the
guest changes the irq to a different line, leaving the old redirection table
entry in place (though masked).  Result is interrupts not making it to the
guest.

Fix by always scanning the entire redirection table.

Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-06-24 12:23:55 +03:00
..
ioapic.c KVM: ioapic: fix lost interrupt when changing a device's irq 2008-06-24 12:23:55 +03:00
ioapic.h KVM: Move ioapic code to common directory. 2008-01-30 18:01:19 +02:00
iodev.h KVM: Move drivers/kvm/* to virt/kvm/ 2008-01-30 18:01:18 +02:00
kvm_main.c KVM: Fix kvm_vcpu_block() task state race 2008-05-18 14:37:12 +03:00
kvm_trace.c KVM: Rename debugfs_dir to kvm_debugfs_dir 2008-04-27 18:21:36 +03:00