diff options
author | Avi Kivity <avi@qumranet.com> | 2008-06-18 00:36:36 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-06-24 11:23:55 +0200 |
commit | 4fa6b9c5dc4134bdeac341d731a87783cc11ca10 (patch) | |
tree | 3542acc44ec41a0c9f79fbda570f64d315bdb0b1 /arch/x86/mach-rdc321x | |
parent | KVM: MMU: Fix oops on guest userspace access to guest pagetable (diff) | |
download | linux-4fa6b9c5dc4134bdeac341d731a87783cc11ca10.tar.xz linux-4fa6b9c5dc4134bdeac341d731a87783cc11ca10.zip |
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>
Diffstat (limited to 'arch/x86/mach-rdc321x')
0 files changed, 0 insertions, 0 deletions