« Previous | Next » 

Revision f7b803b3

IDf7b803b377f74f7e109559e8e64f04c4c1fcd86b

Added by Peter Maydell almost 11 years ago

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 <>
Message-id:
Reviewed-by: Michael S. Tsirkin <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences