virtio_pci: setup config vector indirectly
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 7 Dec 2014 16:18:09 +0000 (18:18 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 19:42:04 +0000 (21:42 +0200)
commit6f8f23d63d57c8d93d699fc015eba9bf144479e9
treef4bdadbffb15731254fc2fa21d023509be8feb5c
parentb09f00bbfe8755c0de9e4950816f4b283ddbca16
virtio_pci: setup config vector indirectly

config vector setup is version specific, do it indirectly.

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