virtio_pci: delete vqs indirectly
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 7 Dec 2014 16:03:49 +0000 (18:03 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 19:42:02 +0000 (21:42 +0200)
commit5386cef200ae0ac79cdcd160772989e8f5c47a4f
tree9eff248d3274fbf586a9221f10a28be8387ff3c1
parentf30eaf4a09482c8dad0f65c616de10a2321839c9
virtio_pci: delete vqs indirectly

VQ deletion is mostly version-specific, add another level of indirection
to split the version-independent code out.

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