From 58404f7871c02593b5d0a78a026f53e8f290aba9 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Tue, 17 May 2022 11:04:40 +0200 Subject: [PATCH] qemu: fd: Fix documentation for FD set related functions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/qemu/qemu_fd.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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) -- 2.47.2