Re: [PATCH v2 06/15] include/qemu: add strread/writeerror()

2025-05-05 Thread Cédric Le Goater
On 4/30/25 21:39, John Levon wrote: Add simple helpers to correctly report failures from read/write routines using the return -errno style. I would keep these helpers under vfio for the moment. Their use is a bit context-specific and making them common requires more work, which would likely ma

[PATCH v2 06/15] include/qemu: add strread/writeerror()

2025-04-30 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/qemu/error-report.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/include/qemu/error-report.h b/include/qemu/error-report.h index 3a