virtio: Add support for guest setting of queue size

Enterprise / Virtualization / QEMU - Peter Maydell [linaro.org] - 19 July 2013 06:58 UTC

The MMIO virtio transport spec allows the guest to tell the host how large the queue size is. Add virtio_queue_set_num() function which implements this in the QEMU common virtio support code.

e63c0ba virtio: Add support for guest setting of queue size
hw/virtio/virtio.c | 8 ++++++++
include/hw/virtio/virtio.h | 1 +
2 files changed, 9 insertions(+)

Upstream: git.qemu.org


  • Share