vfio/pci: Convert all MemoryRegion to dynamic alloc and consistent functions
commit2d82f8a3cdb276bc3cb92d6f01bf8f66bf328d62
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 10 Mar 2016 16:39:08 +0000 (10 09:39 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 11 Mar 2016 03:50:38 +0000 (10 20:50 -0700)
tree24c6a9add95574f3948eeb5359c6c0748195e2bd
parentdb0da029a1853d46c90a6c0790ce6ca77fd46ea3
vfio/pci: Convert all MemoryRegion to dynamic alloc and consistent functions

Match common vfio code with setup, exit, and finalize functions for
BAR, quirk, and VGA management.  VGA is also changed to dynamic
allocation to match the other MemoryRegions.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci-quirks.c
hw/vfio/pci.c
hw/vfio/pci.h