[PATCH v2 1/5] qemu_passt: Avoid double daemonizing passt

Michal Privoznik mprivozn at redhat.com
Thu Feb 16 13:32:48 UTC 2023


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 at redhat.com>
---
 src/qemu/qemu_passt.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/qemu/qemu_passt.c b/src/qemu/qemu_passt.c
index 78830fdc26..adc69fc052 100644
--- a/src/qemu/qemu_passt.c
+++ b/src/qemu/qemu_passt.c
@@ -156,7 +156,6 @@ qemuPasstStart(virDomainObj *vm,
     virCommandClearCaps(cmd);
     virCommandSetPidFile(cmd, pidfile);
     virCommandSetErrorFD(cmd, &errfd);
-    virCommandDaemonize(cmd);
 
     virCommandAddArgList(cmd,
                          "--one-off",
-- 
2.39.1



More information about the libvir-list mailing list