qemu/hw/virtio
Peter Maydell f6049f4483 hw/virtio/virtio: Don't allow guests to add/remove queues
A queue size of 0 is used to indicate a nonexistent queue, so
don't allow the guest to flip a queue between zero-size and
non-zero-size. Don't permit setting of negative queue sizes
either.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1374853288-9912-2-git-send-email-peter.maydell@linaro.org
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
2013-08-09 16:50:23 +01:00
..
dataplane dataplane: sync virtio.c and vring.c virtqueue state 2013-07-19 12:29:21 +08:00
Makefile.objs virtio: Implement MMIO based virtio transport 2013-07-19 12:58:47 +01:00
vhost.c add a header file for atomic operations 2013-07-04 17:42:49 +02:00
virtio-balloon.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
virtio-bus.c qdev: fix get_fw_dev_path to support to add nothing to fw_dev_path 2013-05-30 11:44:27 -05:00
virtio-mmio.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
virtio-pci.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
virtio-pci.h virtio-pci: cleanup. 2013-04-24 11:50:20 -05:00
virtio-rng.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
virtio.c hw/virtio/virtio: Don't allow guests to add/remove queues 2013-08-09 16:50:23 +01:00