summary refs log tree commit diff stats
path: root/rust/qemu-api/src
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2025-05-07 16:20:11 +0100
committerCédric Le Goater <clg@redhat.com>2025-05-09 12:42:28 +0200
commit5363a1a117ea6e1af520d1faed303f944975f760 (patch)
treec9a010fa01dd218801d98df22dedf1e3f1b63bd3 /rust/qemu-api/src
parent2e27becf17be231bc15588a51c0b61efec68d021 (diff)
downloadfocaccia-qemu-5363a1a117ea6e1af520d1faed303f944975f760.tar.gz
focaccia-qemu-5363a1a117ea6e1af520d1faed303f944975f760.zip
vfio: add strread/writeerror()
Add simple helpers to correctly report failures from read/write routines
using the return -errno style.

Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250507152020.1254632-7-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions