Skip to content
Commit f7b803b3 authored by Peter Maydell's avatar Peter Maydell
Browse files

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: default avatarPeter Maydell <peter.maydell@linaro.org>
Message-id: 1374853288-9912-3-git-send-email-peter.maydell@linaro.org
Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent f6049f44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment