Re: [PATCH v4 1/2] vfio: Turn the container error into an Error handle

2019-09-24 Thread Paolo Bonzini
On 24/09/19 10:25, Eric Auger wrote: > 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

[PATCH v4 1/2] vfio: Turn the container error into an Error handle

2019-09-24 Thread Eric Auger
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.