Re: [PATCH v2 05/15] vfio: consistently handle return value for helpers

2025-05-05 Thread Cédric Le Goater
On 4/30/25 21:39, John Levon wrote: Various bits of code that call vfio device APIs should consistently use the "return -errno" approach for passing errors back, rather than presuming errno is (still) set correctly. Signed-off-by: John Levon Reviewed-by: Cédric Le Goater Thanks, C. ---

[PATCH v2 05/15] vfio: consistently handle return value for helpers

2025-04-30 Thread John Levon
Various bits of code that call vfio device APIs should consistently use the "return -errno" approach for passing errors back, rather than presuming errno is (still) set correctly. Signed-off-by: John Levon --- hw/vfio/pci.c | 33 - 1 file changed, 20 insertions(+)