virtio: introduce virtio_del_queue()
commitf23fd811ac4f49f482058cad3b465dc5dc0edc11
authorJason Wang <jasowang@redhat.com>
Wed, 30 Jan 2013 11:12:36 +0000 (30 19:12 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 Feb 2013 17:03:02 +0000 (1 11:03 -0600)
tree403969fc76e3749d9d0f9832d243daf60f22e3de
parenta9f98bb5ebe6fb1869321dcc58e72041ae626ad8
virtio: introduce virtio_del_queue()

Some device (such as virtio-net) needs the ability to destroy or re-order the
virtqueues, this patch adds a helper to do this.

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