diff mbox

[3/4] kvm tools: Let's use irq pin 2 for virtio console

Message ID 1302624856-884-3-git-send-email-asias.hejun@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Asias He April 12, 2011, 4:14 p.m. UTC
Left irq pin 3 for virtio networking

Signed-off-by: Asias He <asias.hejun@gmail.com>
---
 tools/kvm/virtio-console.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/tools/kvm/virtio-console.c b/tools/kvm/virtio-console.c
index aa9b1bd..14f61ae 100644
--- a/tools/kvm/virtio-console.c
+++ b/tools/kvm/virtio-console.c
@@ -227,7 +227,7 @@  static struct pci_device_header virtio_console_pci_device = {
 	.subsys_vendor_id	= PCI_SUBSYSTEM_VENDOR_ID_REDHAT_QUMRANET,
 	.subsys_id		= PCI_SUBSYSTEM_ID_VIRTIO_CONSOLE,
 	.bar[0]			= IOPORT_VIRTIO_CONSOLE | PCI_BASE_ADDRESS_SPACE_IO,
-	.irq_pin		= 3,
+	.irq_pin		= 2,
 	.irq_line		= VIRTIO_CONSOLE_IRQ,
 };