diff options
| author | Eric Auger | 2016-10-17 18:57:59 +0200 |
|---|---|---|
| committer | Alex Williamson | 2016-10-17 18:57:59 +0200 |
| commit | 01905f58f166646619c35a2ebfc3ca3ed4cad62d (patch) | |
| tree | 666c8260b7cbe995cee44a6cbe3222e3c9c525a0 /page_cache.c | |
| parent | vfio/pci: Pass an error object to vfio_pci_igd_opregion_init (diff) | |
| download | qemu-01905f58f166646619c35a2ebfc3ca3ed4cad62d.tar.gz qemu-01905f58f166646619c35a2ebfc3ca3ed4cad62d.tar.xz 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 'page_cache.c')
0 files changed, 0 insertions, 0 deletions
