Re: [PATCH 10/14] vfio: consistently handle return value for helpers

2025-04-24 Thread Cédric Le Goater
On 4/9/25 15:48, 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 --- hw/vfio/pci.c | 30 +

[PATCH 10/14] vfio: consistently handle return value for helpers

2025-04-09 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 | 30 +- 1 file changed, 17 insertions(+), 1