]> git.proxmox.com Git - mirror_qemu.git/commit
virtio: add a queue_index to VirtQueue
authorJason Wang <jasowang@redhat.com>
Wed, 30 Jan 2013 11:12:37 +0000 (19:12 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 Feb 2013 17:03:03 +0000 (11:03 -0600)
commite78a2b4285f6cc125dc7a514bebef97d9af1d812
tree34227ae90a31eb1fc68d8112385ad09dfae3a6ed
parentf23fd811ac4f49f482058cad3b465dc5dc0edc11
virtio: add a queue_index to VirtQueue

Add a queue_index to VirtQueue and a helper to fetch it, this could be used by
multiqueue supported device.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio.c
hw/virtio.h