diff options
author | Jason Wang <jasowang@redhat.com> | 2015-05-29 14:15:32 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-05-31 16:50:10 +0200 |
commit | b829c2a98f1f67308eb02fcddb52d8fa67775f18 (patch) | |
tree | f475b1c40e5fad4c8b931fdb647b4aa7a9ab4a08 /include/hw/virtio | |
parent | 87b3bd1c858e6cacac4d403da9109ec3a04fe9d0 (diff) | |
download | qemu-b829c2a98f1f67308eb02fcddb52d8fa67775f18.tar.gz qemu-b829c2a98f1f67308eb02fcddb52d8fa67775f18.tar.bz2 qemu-b829c2a98f1f67308eb02fcddb52d8fa67775f18.zip |
virtio: increase the queue limit to 1024
Increase the queue limit to 1024. But virtio-ccw and s390-virtio won't
support this, this is done through failing device_plugged() for those
two transports if the number of virtqueues is greater than 64.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/virtio')
-rw-r--r-- | include/hw/virtio/virtio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h index 4411dcafa2..45d6e5b01e 100644 --- a/include/hw/virtio/virtio.h +++ b/include/hw/virtio/virtio.h @@ -48,7 +48,7 @@ typedef struct VirtQueueElement struct iovec out_sg[VIRTQUEUE_MAX_SIZE]; } VirtQueueElement; -#define VIRTIO_QUEUE_MAX 64 +#define VIRTIO_QUEUE_MAX 1024 #define VIRTIO_NO_VECTOR 0xffff |