]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: fd: Fix documentation for FD set related functions
authorPeter Krempa <pkrempa@redhat.com>
Tue, 17 May 2022 09:04:40 +0000 (11:04 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 May 2022 17:31:08 +0000 (19:31 +0200)
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 <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_fd.c

index 7ea52bd2dcf12c99a9d1f9bb34283092225080b5..bc6a37663cc69aa16e98f1c2f73bf7fe354a6a12 100644 (file)
@@ -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)