diff mbox

[7/7] kvmtool: support larger virtio queues

Message ID 1436251126-24580-8-git-send-email-kraxel@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Gerd Hoffmann July 7, 2015, 6:38 a.m. UTC
They have 256 entries on kvmtool, support that.  Need more memory for
virtqueues now.  But with the move to 32bit drivers this should not be
a big issue.

FIXME: Must bump to 260 to make things actually work.  There seems to be
some corruption otherwise and kvmtool complains about invalid requests.
Not yet debugged who is at fault here.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 src/hw/virtio-ring.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/src/hw/virtio-ring.h b/src/hw/virtio-ring.h
index 7df9004..3a143e0 100644
--- a/src/hw/virtio-ring.h
+++ b/src/hw/virtio-ring.h
@@ -28,7 +28,7 @@ 
 /* v1.0 compliant. */
 #define VIRTIO_F_VERSION_1              32
 
-#define MAX_QUEUE_NUM      (128)
+#define MAX_QUEUE_NUM      (260)
 
 #define VRING_DESC_F_NEXT  1
 #define VRING_DESC_F_WRITE 2