]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Add setsid into nohup approach
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 23 Jun 2018 17:53:18 +0000 (14:53 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 23 Jun 2018 17:53:18 +0000 (14:53 -0300)
kvmx

diff --git a/kvmx b/kvmx
index b3454ce338a8b3a2e8859a3c5b4761fc4a8a3952..7911ec432ef9da45abede2ed88fcef97964ceebc 100755 (executable)
--- 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                                                             \