vfio/pci: Pass an error object to vfio_pci_igd_opregion_init
commit7237011d0596e57f42d2a4e0556034b8d13533fe
authorEric Auger <eric.auger@redhat.com>
Mon, 17 Oct 2016 16:57:59 +0000 (17 10:57 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 17 Oct 2016 16:57:59 +0000 (17 10:57 -0600)
tree37373e8610e87ea48770e76d2dd09eb5d7810df1
parent7ef165b9a8d903babddaf9c61c54ae9b6e739604
vfio/pci: Pass an error object to vfio_pci_igd_opregion_init

Pass an error object to prepare for migration to VFIO-PCI realize.

In vfio_probe_igd_bar4_quirk, simply report the error.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci-quirks.c
hw/vfio/pci.c
hw/vfio/pci.h