mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-13 17:18:01 +03:00
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 <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
4438b8ac09
commit
58404f7871
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user