summary refs log tree commit diff stats
path: root/hw/virtio.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-01-20 00:36:51 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-20 08:25:23 -0600
commitbb61564c77ec95b258465c05c8e429a748ff24d9 (patch)
tree0bf74a565ebbfa6e19c6ead652bdca3eac9bf541 /hw/virtio.c
parent03cbdac7efc20994d0a87015e24e835d0139df7b (diff)
downloadfocaccia-qemu-bb61564c77ec95b258465c05c8e429a748ff24d9.tar.gz
focaccia-qemu-bb61564c77ec95b258465c05c8e429a748ff24d9.zip
virtio: Remove duplicate macro definition for max. virtqueues, bump up the max
VIRTIO_PCI_QUEUE_MAX is redefined in hw/virtio.c. Let's just keep it in
hw/virtio.h.

Also, bump up the value of the maximum allowed virtqueues to 64. This is
in preparation to allow multiple ports per virtio-console device.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio.c')
-rw-r--r--hw/virtio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/virtio.c b/hw/virtio.c
index fa7184ab95..7c020a3383 100644
--- a/hw/virtio.c
+++ b/hw/virtio.c
@@ -75,8 +75,6 @@ struct VirtQueue
     void (*handle_output)(VirtIODevice *vdev, VirtQueue *vq);
 };
 
-#define VIRTIO_PCI_QUEUE_MAX        16
-
 /* virt queue functions */
 static void virtqueue_init(VirtQueue *vq)
 {