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

Laine Stump laine at redhat.com
Thu Feb 16 16:34:47 UTC 2023


On 2/16/23 8:32 AM, Michal Privoznik wrote:
> 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>

Reviewed-by: Laine Stump <laine 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",



More information about the libvir-list mailing list