xemu/hw/vfio
Eric Auger 7dfb34247e vfio/pci: Pass an error object to vfio_intx_enable
Pass an error object to prepare for migration to VFIO-PCI realize.

The error object is propagated down to vfio_intx_enable_kvm().

The three other callers, vfio_intx_enable_kvm(), vfio_msi_disable_common()
and vfio_pci_post_reset() do not propagate the error and simply call
error_reportf_err() with the ERR_PREFIX formatting.

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>
2016-10-17 10:57:58 -06:00
..
amd-xgbe.c all: Clean up includes 2016-02-23 12:43:05 +00:00
calxeda-xgmac.c hw/vfio: Clean up includes 2016-01-29 15:07:24 +00:00
common.c memory: introduce IOMMUNotifier and its caps 2016-09-27 08:59:16 +02:00
Makefile.objs vfio: spapr: Add DMA memory preregistering (SPAPR IOMMU v2) 2016-07-05 14:30:54 +10:00
pci-quirks.c vfio/pci: Pass an error object to vfio_populate_vga 2016-10-17 10:57:57 -06:00
pci.c vfio/pci: Pass an error object to vfio_intx_enable 2016-10-17 10:57:58 -06:00
pci.h vfio/pci: Pass an error object to vfio_populate_vga 2016-10-17 10:57:57 -06:00
platform.c vfio: Use error_report() instead of error_printf() for errors 2016-08-08 09:01:18 +02:00
spapr.c vfio/spapr: Remove stale ioctl() call 2016-07-18 10:40:27 +10:00
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00