Enable ACPI interrupts, by Igor Lvovsky.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 20 Oct 2007 20:36:52 +0000 (20:36 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 20 Oct 2007 20:36:52 +0000 (20:36 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3419 c046a42c-6fe2-441c-8c8c-71466251a162

hw/piix_pci.c

index 8c00f0d..3c04e3a 100644 (file)
@@ -208,6 +208,7 @@ static void piix3_set_irq(qemu_irq *pic, int irq_num, int level)
 {
     int i, pic_irq, pic_level;
 
+    piix3_dev->config[0x60 + irq_num] &= ~0x80;   // enable bit
     pci_irq_levels[irq_num] = level;
 
     /* now we change the pic irq level according to the piix irq mappings */