From: Peter Krempa Date: Tue, 17 May 2022 09:04:40 +0000 (+0200) Subject: qemu: fd: Fix documentation for FD set related functions X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=58404f7871c02593b5d0a78a026f53e8f290aba9;p=libvirt.git qemu: fd: Fix documentation for FD set related functions When dealing with fdsets only we don't need to pass the FD first as we now generate fdset name directly. Also there are no more caveats in passing multiple FDs. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/src/qemu/qemu_fd.c b/src/qemu/qemu_fd.c index 7ea52bd2dc..bc6a37663c 100644 --- a/src/qemu/qemu_fd.c +++ b/src/qemu/qemu_fd.c @@ -102,9 +102,8 @@ qemuFDPassNew(const char *prefix, * @fd: File descriptor to pass * @suffix: Name suffix for the file descriptor name * - * Adds @fd to be passed to qemu when transferring @fdpass to qemu. When @fdpass - * is configured to use FD set mode, multiple file descriptors can be passed by - * calling this function repeatedly. + * Adds @fd to be passed to qemu when transferring @fdpass to qemu. + * Multiple file descriptors can be passed by calling this function repeatedly. * * @suffix is used to build the name of the file descriptor by concatenating * it with @prefix passed to qemuFDPassNew. @suffix may be NULL, in which case @@ -223,8 +222,6 @@ qemuFDPassTransferMonitorRollback(qemuFDPass *fdpass, * @fdpass: The fd passing helper struct * * Returns the path/fd name that is used in qemu to refer to the passed FD. - * Note that it's only valid to call this function after @fdpass was already - * transferred to the command or monitor. */ const char * qemuFDPassGetPath(qemuFDPass *fdpass)