diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2015-07-06 16:04:46 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-20 15:56:35 +0100 |
commit | 271049131c4c361588e5ecfa8e980029e49d8007 (patch) | |
tree | d78f42b0707ab461ff23e410f8660756cd372cf5 | |
parent | ab5a844f906e1394c9ea614932a8f35f4221f5e6 (diff) | |
download | seabios-kvmtool.tar.gz |
kvmtool: support larger virtio queueskvmtool
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 <kraxel@redhat.com>
-rw-r--r-- | src/hw/virtio-ring.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |