forked from rpms/libvirt
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
From 47a82ef5bef2e549b9d6f7d20ad369b272e2c060 Mon Sep 17 00:00:00 2001
|
|
Message-Id: <47a82ef5bef2e549b9d6f7d20ad369b272e2c060@dist-git>
|
|
From: Michal Privoznik <mprivozn@redhat.com>
|
|
Date: Thu, 16 Feb 2023 12:00:58 +0100
|
|
Subject: [PATCH] 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.
|
|
|
|
Resolves: https://bugzilla.redhat.com/2169244
|
|
|
|
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
|
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
|
|
Reviewed-by: Laine Stump <laine@redhat.com>
|
|
(cherry picked from commit c0efdbdb9f66ab5a7334fd1dc75cdfdc28a7393d)
|
|
Signed-off-by: Laine Stump <laine@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.2
|
|
|