[PATCH] kvm tools: Use IRQ line 5+ for devices

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

 



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@xxxxxxxxx>
---
 tools/kvm/irq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/kvm/irq.c b/tools/kvm/irq.c
index dc2247e..1392dfb 100644
--- a/tools/kvm/irq.c
+++ b/tools/kvm/irq.c
@@ -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;
 
-- 
1.7.8.rc1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux