mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-08 16:54:49 +00:00
qemu_passt: Avoid double daemonizing passt
When passt is started, it daemonizes itself by default. There's no point in having our virCommand module daemonize it too. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: Laine Stump <laine@redhat.com>
This commit is contained in:
parent
ecca805336
commit
c0efdbdb9f
@ -156,7 +156,6 @@ qemuPasstStart(virDomainObj *vm,
|
|||||||
virCommandClearCaps(cmd);
|
virCommandClearCaps(cmd);
|
||||||
virCommandSetPidFile(cmd, pidfile);
|
virCommandSetPidFile(cmd, pidfile);
|
||||||
virCommandSetErrorFD(cmd, &errfd);
|
virCommandSetErrorFD(cmd, &errfd);
|
||||||
virCommandDaemonize(cmd);
|
|
||||||
|
|
||||||
virCommandAddArgList(cmd,
|
virCommandAddArgList(cmd,
|
||||||
"--one-off",
|
"--one-off",
|
||||||
|
Loading…
Reference in New Issue
Block a user