summaryrefslogtreecommitdiffstats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorPeter Maydell2013-07-26 17:41:28 +0200
committerPeter Maydell2013-08-12 12:57:56 +0200
commitf7b803b377f74f7e109559e8e64f04c4c1fcd86b (patch)
tree600434f1e4f9cfa8af4d0595a3d35454225a476e /include/exec/exec-all.h
parenthw/virtio/virtio: Don't allow guests to add/remove queues (diff)
downloadqemu-f7b803b377f74f7e109559e8e64f04c4c1fcd86b.tar.gz
qemu-f7b803b377f74f7e109559e8e64f04c4c1fcd86b.tar.xz
qemu-f7b803b377f74f7e109559e8e64f04c4c1fcd86b.zip
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>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions