aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api-macros
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-macros
parent2e27becf17be231bc15588a51c0b61efec68d021 (diff)
downloadqemu-5363a1a117ea6e1af520d1faed303f944975f760.zip
qemu-5363a1a117ea6e1af520d1faed303f944975f760.tar.gz
qemu-5363a1a117ea6e1af520d1faed303f944975f760.tar.bz2
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-macros')
0 files changed, 0 insertions, 0 deletions