virtio-pci: add virtio_pci_modern_regions_init()
commit1141ce2190c85daacfa9b874476651ed0f7dc6df
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 4 Jun 2015 10:34:34 +0000 (4 12:34 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 10 Jun 2015 16:15:06 +0000 (10 18:15 +0200)
tree73f9a8d6f929876c40c8f1119e960df3eeb94ae7
parent588255ad5021f06789f438f7b045015c54e30841
virtio-pci: add virtio_pci_modern_regions_init()

Add init function for the modern pci regions,
move over the init code.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-pci.c