virtio_pci: setup 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:03 +0000 (21:42 +0200)
commitb09f00bbfe8755c0de9e4950816f4b283ddbca16
tree912470e0d2906e898b3a42c44a4c9b6faff6fa10
parent5386cef200ae0ac79cdcd160772989e8f5c47a4f
virtio_pci: setup vqs indirectly

VQ setup 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