From 27e97f8167a006f62d9fcebbe68603210b381f1b Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Thu, 17 Jan 2008 18:53:56 +0200 Subject: [PATCH] kvm: bios: mark the acpi sci interrupt as connected to irq 9 Due to a chipset bug, the sci interrupt is hardwired to irq 9. Set the pci interrupt line register accordingly. Signed-off-by: Avi Kivity --- kvm/bios/rombios32.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kvm/bios/rombios32.c b/kvm/bios/rombios32.c index 7c5eeee85d..f6854d5e2d 100755 --- a/kvm/bios/rombios32.c +++ b/kvm/bios/rombios32.c @@ -769,6 +769,10 @@ static void pci_bios_init_device(PCIDevice *d) if (vendor_id == 0x8086 && device_id == 0x7113) { /* PIIX4 Power Management device (for ACPI) */ + + // acpi sci is hardwired to 9 + pci_config_writeb(d, PCI_INTERRUPT_LINE, 9); + pm_io_base = PM_IO_BASE; pci_config_writel(d, 0x40, pm_io_base | 1); pci_config_writeb(d, 0x80, 0x01); /* enable PM io space */ -- 2.11.4.GIT