]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: i8259: initialize isr_ack
authorAvi Kivity <avi@redhat.com>
Thu, 31 Mar 2011 18:58:55 +0000 (11:58 -0700)
committerAK <andi@firstfloor.org>
Thu, 31 Mar 2011 18:58:55 +0000 (11:58 -0700)
commita0e696446fddddabf00c57e1db5f38b929c3e713
tree038b5be21a2916ae71c9053a6bf0fe2a9b82c643
parent8295c17f384a1e50b56cacbdc0d91e1c21c1b953
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: Andi Kleen <ak@linux.intel.com>
arch/x86/kvm/i8259.c