]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm tools: Use IRQ line 5+ for devices
authorSasha Levin <levinsasha928@gmail.com>
Tue, 15 Nov 2011 16:20:25 +0000 (18:20 +0200)
committerPekka Enberg <penberg@kernel.org>
Tue, 15 Nov 2011 18:43:05 +0000 (20:43 +0200)
IRQ lines 3 and 4 are used by the serial device, assigning them to other
devices as well hurts performance. We should avoid shared IRQs if possible.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/irq.c

index dc2247e68ed25e54491f9b4baa31cbedff8e2b75..1392dfbca72a0ed80f84c5bbd3e4c89088666d8f 100644 (file)
@@ -16,7 +16,7 @@
 #define IRQCHIP_SLAVE                  1
 #define IRQCHIP_IOAPIC                 2
 
-static u8              next_line       = 3;
+static u8              next_line       = 5;
 static u8              next_dev        = 1;
 static struct rb_root  pci_tree        = RB_ROOT;