]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: i8259: initialize isr_ack
authorAvi Kivity <avi@redhat.com>
Fri, 14 Jan 2011 12:10:17 +0000 (10:10 -0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 22:47:24 +0000 (14:47 -0800)
commit295c639bff96e344913cd99118eecadf211e2e68
treee76b3cdcd5c12fc2f631a730287738e05aeb8901
parent823c5c79a5da97b6f4314be7d0f350fdc19df9b7
KVM: i8259: initialize isr_ack

commit a0272630bb594b4eac03a79e77957df7dad8eade upstream.

isr_ack is never initialized.  So, until the first PIC reset, interrupts
may fail to be injected.  This can cause Windows XP to fail to boot, as
reported in the fallout from the fix to
https://bugzilla.kernel.org/show_bug.cgi?id=21962.

Reported-and-tested-by: Nicolas Prochazka <prochazka.nicolas@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/i8259.c