diff options
| author | Fabiano Rosas <farosas@suse.de> | 2024-03-11 20:33:34 -0300 |
|---|---|---|
| committer | Peter Xu <peterx@redhat.com> | 2024-03-12 15:22:23 -0400 |
| commit | 4760cedc61328e47bf7f1fabceb9937facfa4cdd (patch) | |
| tree | 6eef4197a0c83d12afca866005569787b03106f4 /migration/file.c | |
| parent | 35ac6831d98e18e2c78c85c93e3a6ca1f1ae3e58 (diff) | |
| download | focaccia-qemu-4760cedc61328e47bf7f1fabceb9937facfa4cdd.tar.gz focaccia-qemu-4760cedc61328e47bf7f1fabceb9937facfa4cdd.zip | |
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>
Diffstat (limited to 'migration/file.c')
0 files changed, 0 insertions, 0 deletions