From: Avi Kivity <[EMAIL PROTECTED]>

Previously, the acpi sci interrupt was implemented as a pci interrupt.
However, guests did not now about it and disabled the interrupt in the
routing registers, so a hack was introduced to force-enable the irqs.

Now that sci is implemented as an isa irq, this is no longer necessary,
so remove the hack.

Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>

diff --git a/qemu/hw/piix_pci.c b/qemu/hw/piix_pci.c
index d5c7e1e..a1e04d4 100644
--- a/qemu/hw/piix_pci.c
+++ b/qemu/hw/piix_pci.c
@@ -220,7 +220,6 @@ 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 */

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-commits mailing list
kvm-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-commits

Reply via email to