diff options
author | Eric Auger <eric.auger@redhat.com> | 2016-10-17 10:57:59 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-10-17 10:57:59 -0600 |
commit | 7237011d0596e57f42d2a4e0556034b8d13533fe (patch) | |
tree | 37373e8610e87ea48770e76d2dd09eb5d7810df1 /hw/vfio/pci.h | |
parent | 7ef165b9a8d903babddaf9c61c54ae9b6e739604 (diff) |
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>
Diffstat (limited to 'hw/vfio/pci.h')
-rw-r--r-- | hw/vfio/pci.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/vfio/pci.h b/hw/vfio/pci.h index 87a62f921a..a8366bb2a7 100644 --- a/hw/vfio/pci.h +++ b/hw/vfio/pci.h @@ -164,6 +164,7 @@ void vfio_setup_resetfn_quirk(VFIOPCIDevice *vdev); int vfio_populate_vga(VFIOPCIDevice *vdev, Error **errp); int vfio_pci_igd_opregion_init(VFIOPCIDevice *vdev, - struct vfio_region_info *info); + struct vfio_region_info *info, + Error **errp); #endif /* HW_VFIO_VFIO_PCI_H */ |