qemu/io
Fabiano Rosas 4760cedc61 io: Introduce qio_channel_file_new_dupfd
Add a new helper function for creating a QIOChannelFile channel with a
duplicated file descriptor. This saves the calling code from having to
do error checking on the dup() call.

Suggested-by: "Daniel P. Berrangé" <berrange@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com>
Link: https://lore.kernel.org/r/20240311233335.17299-2-farosas@suse.de
Signed-off-by: Peter Xu <peterx@redhat.com>
2024-03-12 15:22:23 -04:00
..
channel-buffer.c
channel-command.c
channel-file.c io: Introduce qio_channel_file_new_dupfd 2024-03-12 15:22:23 -04:00
channel-null.c
channel-socket.c
channel-tls.c io: add trace event when cancelling TLS handshake 2024-02-09 12:50:31 +00:00
channel-util.c
channel-watch.c
channel-websock.c
channel.c io: Add generic pwritev/preadv interface 2024-03-01 15:42:04 +08:00
dns-resolver.c
meson.build
net-listener.c
task.c
trace-events io: add trace event when cancelling TLS handshake 2024-02-09 12:50:31 +00:00
trace.h