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>
This commit is contained in:
parent
87b3bd1c85
commit
b829c2a98f
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user