qemu-e2k/hw/virtio
Peter Maydell f7b803b377 hw/virtio/virtio-mmio: Make QueueNumMax read 0 for unavailable queues
The virtio-mmio spec says that QueueNumMax must read zero for queues
which are unavailable; implement this, rather than always returning
VIRTQUEUE_MAX_SIZE.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1374853288-9912-3-git-send-email-peter.maydell@linaro.org
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
2013-08-12 11:57:56 +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 hw/virtio/virtio-mmio: Make QueueNumMax read 0 for unavailable queues 2013-08-12 11:57:56 +01:00
virtio-pci.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
virtio-pci.h
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