From bb61564c77ec95b258465c05c8e429a748ff24d9 Mon Sep 17 00:00:00 2001 From: Amit Shah Date: Wed, 20 Jan 2010 00:36:51 +0530 Subject: 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 Signed-off-by: Anthony Liguori --- hw/virtio.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/virtio.c') 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) { -- cgit v1.2.1