Re: [PATCH v3 06/15] vfio: add strread/writeerror()

2025-05-09 Thread Cédric Le Goater
On 5/7/25 17:20, John Levon wrote: Add simple helpers to correctly report failures from read/write routines using the return -errno style. Signed-off-by: John Levon --- include/hw/vfio/vfio-device.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/include/hw/vfio/vfio-devi

[PATCH v3 06/15] vfio: add strread/writeerror()

2025-05-07 Thread John Levon
Add simple helpers to correctly report failures from read/write routines using the return -errno style. Signed-off-by: John Levon --- include/hw/vfio/vfio-device.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/include/hw/vfio/vfio-device.h b/include/hw/vfio/vfio-device.h in