summary refs log tree commit diff stats
path: root/hw/vfio/platform.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2016-10-17 10:57:59 -0600
committerAlex Williamson <alex.williamson@redhat.com>2016-10-17 10:57:59 -0600
commit01905f58f166646619c35a2ebfc3ca3ed4cad62d (patch)
tree666c8260b7cbe995cee44a6cbe3222e3c9c525a0 /hw/vfio/platform.c
parent7237011d0596e57f42d2a4e0556034b8d13533fe (diff)
downloadfocaccia-qemu-01905f58f166646619c35a2ebfc3ca3ed4cad62d.tar.gz
focaccia-qemu-01905f58f166646619c35a2ebfc3ca3ed4cad62d.zip
vfio: Pass an Error object to vfio_connect_container
The error is currently simply reported in vfio_get_group. Don't
bother too much with the prefix which will be handled at upper level,
later on.

Also return an error value in case container->error is not 0 and
the container is teared down.

On vfio_spapr_remove_window failure, we also report an error whereas
it was silent before.

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/platform.c')
0 files changed, 0 insertions, 0 deletions