summary refs log tree commit diff stats
path: root/util/async.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2019-09-24 10:25:16 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-10-04 18:49:18 +0200
commitd7d8783647841a4c18349fe60d0d99e0de865ce5 (patch)
tree92d961b711aa486a03168ad9bfc4a854930d3f03 /util/async.c
parente900135dcfb676a4019dc206395e02db5d1de0d6 (diff)
downloadfocaccia-qemu-d7d8783647841a4c18349fe60d0d99e0de865ce5.tar.gz
focaccia-qemu-d7d8783647841a4c18349fe60d0d99e0de865ce5.zip
vfio: Turn the container error into an Error handle
The container error integer field is currently used to store
the first error potentially encountered during any
vfio_listener_region_add() call. However this fails to propagate
detailed error messages up to the vfio_connect_container caller.
Instead of using an integer, let's use an Error handle.

Messages are slightly reworded to accomodate the propagation.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/async.c')
0 files changed, 0 insertions, 0 deletions