[PATCH 7/7] kvmtool: support larger virtio queues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 src/hw/virtio-ring.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux