render / rpms / libvirt

Forked from rpms/libvirt 9 months ago
Clone
acda74
From 47a82ef5bef2e549b9d6f7d20ad369b272e2c060 Mon Sep 17 00:00:00 2001
acda74
Message-Id: <47a82ef5bef2e549b9d6f7d20ad369b272e2c060@dist-git>
acda74
From: Michal Privoznik <mprivozn@redhat.com>
acda74
Date: Thu, 16 Feb 2023 12:00:58 +0100
acda74
Subject: [PATCH] qemu_passt: Avoid double daemonizing passt
acda74
acda74
When passt is started, it daemonizes itself by default. There's
acda74
no point in having our virCommand module daemonize it too.
acda74
acda74
Resolves: https://bugzilla.redhat.com/2169244
acda74
acda74
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
acda74
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
acda74
Reviewed-by: Laine Stump <laine@redhat.com>
acda74
(cherry picked from commit c0efdbdb9f66ab5a7334fd1dc75cdfdc28a7393d)
acda74
Signed-off-by: Laine Stump <laine@redhat.com>
acda74
---
acda74
 src/qemu/qemu_passt.c | 1 -
acda74
 1 file changed, 1 deletion(-)
acda74
acda74
diff --git a/src/qemu/qemu_passt.c b/src/qemu/qemu_passt.c
acda74
index 78830fdc26..adc69fc052 100644
acda74
--- a/src/qemu/qemu_passt.c
acda74
+++ b/src/qemu/qemu_passt.c
acda74
@@ -156,7 +156,6 @@ qemuPasstStart(virDomainObj *vm,
acda74
     virCommandClearCaps(cmd);
acda74
     virCommandSetPidFile(cmd, pidfile);
acda74
     virCommandSetErrorFD(cmd, &errfd);
acda74
-    virCommandDaemonize(cmd);
acda74
 
acda74
     virCommandAddArgList(cmd,
acda74
                          "--one-off",
acda74
-- 
acda74
2.39.2
acda74