qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 03/21] Always create PCI interrupt override acpi tab


From: Gleb Natapov
Subject: [Qemu-devel] [PATCH 03/21] Always create PCI interrupt override acpi tables.
Date: Thu, 8 Oct 2009 17:59:08 +0200

This is what qemu pcbios does since commit
da5ff65dc9473e3f069736d38b9a189ea14a67eb.

Qemu implements PCI interrupts as active high, but OSes assume
that they are active low as per PCI spec. Qemu works without override
only because ioapic there doesn't implement polarity bit.

Signed-off-by: Gleb Natapov <address@hidden>
---
 src/acpi.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/acpi.c b/src/acpi.c
index dafd8c8..1b4f4c5 100644
--- a/src/acpi.c
+++ b/src/acpi.c
@@ -196,12 +196,7 @@ struct madt_io_apic
                                  * lines start */
 } PACKED;
 
-#if CONFIG_KVM
-/* IRQs 5,9,10,11 */
 #define PCI_ISA_IRQ_MASK    0x0e20
-#else
-#define PCI_ISA_IRQ_MASK    0x0000
-#endif
 
 struct madt_intsrcovr {
     APIC_HEADER_DEF
-- 
1.6.3.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]