From 271049131c4c361588e5ecfa8e980029e49d8007 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 6 Jul 2015 16:04:46 +0200 Subject: kvmtool: support larger virtio queues Queues have 256 entries on kvmtool, support that. Needs more memory for virtqueues now. But with the move to 32bit drivers for virtio this should not be much of an issue any more. Known problems: * Linux kernel doesn't find virtio-blk devices after seabios initialized them, due to kvmtool not implementing device reset. Signed-off-by: Gerd Hoffmann --- 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 8604a011..dccc50d7 100644 --- a/src/hw/virtio-ring.h +++ b/src/hw/virtio-ring.h @@ -20,7 +20,7 @@ #define VIRTIO_F_VERSION_1 32 #define VIRTIO_F_IOMMU_PLATFORM 33 -#define MAX_QUEUE_NUM (128) +#define MAX_QUEUE_NUM (256) #define VRING_DESC_F_NEXT 1 #define VRING_DESC_F_WRITE 2 -- cgit