virtio: delete vq from list
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 26 Jul 2009 12:48:01 +0000 (15:48 +0300)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 30 Jul 2009 06:33:44 +0000 (15:33 +0930)
commitf6c82507030d61e15928d5cad946d3eac1c4a384
tree5c0dd65a04424dbcf985a4104a8a244085e2f179
parentff52c3fc7188855ede75d87b022271f0da309e5b
virtio: delete vq from list

This makes delete vq the reverse of find vq.
This is required to make it possible to retry find_vqs
after a failure, otherwise the list gets corrupted.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_pci.c