summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2023-08-03 10:28:25 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2023-08-03 11:28:43 -0400
commit9b06d0d076271d76e5384d767ef94a676f0a9efd (patch)
treebb288f9a924193fee5802caa2bc882c1226eaed4 /linux-user/syscall.c
parent0b054b4c82ebad6e90111e3ffa3514f841dbb1d0 (diff)
downloadfocaccia-qemu-9b06d0d076271d76e5384d767ef94a676f0a9efd.tar.gz
focaccia-qemu-9b06d0d076271d76e5384d767ef94a676f0a9efd.zip
block/blkio: add more comments on the fd passing handling
As Hanna pointed out, it is not clear in the code why qemu_open()
can fail, and why blkio_set_int("fd") is not enough to discover
the `fd` property support.

Let's fix them by adding more details in the code comments.

Suggested-by: Hanna Czenczek <hreitz@redhat.com>
Reviewed-by: Hanna Czenczek <hreitz@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-id: 20230803082825.25293-3-sgarzare@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions