]> git.proxmox.com Git - mirror_qemu.git/commit
vfio/platform: Pass an error object to vfio_populate_device
authorEric Auger <eric.auger@redhat.com>
Mon, 17 Oct 2016 16:58:00 +0000 (10:58 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 17 Oct 2016 16:58:00 +0000 (10:58 -0600)
commit5ff7419d4c7706fc3f625c0fd48cae191d2cecbc
tree760be64f62e30adb7cccecd76917347e5b0dec8d
parent59f7d6743ccbe17587e491dc5d79cad8bf31f76a
vfio/platform: Pass an error object to vfio_populate_device

Propagate the vfio_populate_device errors up to vfio_base_device_init.
The error object also is passed to vfio_init_intp. At the moment we
only report the error. Subsequent patches will propagate the error
up to the realize function.

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/platform.c