]> xenbits.xensource.com Git - libvirt.git/commit
vircommand: Document virCommandSetSendBuffer() behaviour wrt daemonize
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 22 Mar 2022 10:03:10 +0000 (11:03 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 1 Dec 2022 13:22:39 +0000 (14:22 +0100)
commit0e6f75a6f1b019a695efa4b7491685ddb48e477b
tree3422d7b1db3c28fb3058d4924a501e9c86ddd7e4
parent02b113b282daea7ee0348062e7813750b938af82
vircommand: Document virCommandSetSendBuffer() behaviour wrt daemonize

When virCommandSetSendBuffer() is used over a virCommand that is
(or will be) daemonized, then the command must have
VIR_EXEC_ASYNC_IO flag set no later than at virCommandRunAsync()
phase so that the thread that's doing IO is spawned and thus
buffers can be sent to the process.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
src/util/vircommand.c