aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-01-13 15:29:42 +0200
committerAvi Kivity <avi@redhat.com>2009-01-13 15:29:42 +0200
commitd968379668da73f3d8aa4a1789c86ad532736c04 (patch)
tree6b1983448c2d6bc9ce25b59213bd127002b048b2
parent99e3889c0677093ffaad6af1da265c9f9ba3fd28 (diff)
Disable special ioapic inti0 routingkvm-83
we don't support it yet (need bios support, and modifications to kernel irq routing). Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--hw/apic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/apic.c b/hw/apic.c
index df80444ec..f9ef9955e 100644
--- a/hw/apic.c
+++ b/hw/apic.c
@@ -1055,12 +1055,14 @@ void ioapic_set_irq(void *opaque, int vector, int level)
{
IOAPICState *s = opaque;
+#if 0
/* ISA IRQs map to GSI 1-1 except for IRQ0 which maps
* to GSI 2. GSI maps to ioapic 1-1. This is not
* the cleanest way of doing it but it should work. */
if (vector == 0)
vector = 2;
+#endif
if (vector >= 0 && vector < IOAPIC_NUM_PINS) {
uint32_t mask = 1 << vector;