From 292cf855c9a1ba38dac6ee940ed8229f5167ffa5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 23 Jun 2018 14:53:18 -0300 Subject: Add setsid into nohup approach --- kvmx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvmx b/kvmx index b3454ce..7911ec4 100755 --- a/kvmx +++ b/kvmx @@ -474,7 +474,7 @@ function kvmx_up { # Run virtual machine, nohup approach # See https://en.wikipedia.org/wiki/Nohup#Overcoming_hanging - #nohup kvm -m $memory -name $VM \ + #nohup setsid kvm -m $memory -name $VM \ # -chardev "socket,id=monitor,path=$MONITORFILE,server,nowait" -mon chardev=monitor,mode=readline \ # -chardev "socket,id=serial0,path=$CONSOLEFILE,server,nowait" -device isa-serial,chardev=serial0 \ # -smp $smp -cpu host -balloon virtio \ -- cgit v1.2.3