aboutsummaryrefslogtreecommitdiff
path: root/kvmx
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-23 14:53:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-23 14:53:18 -0300
commit292cf855c9a1ba38dac6ee940ed8229f5167ffa5 (patch)
treeeef4476244e8a08a3dd912b9ba5c357292ef2138 /kvmx
parentda1def2ff63f04bd545cf2701d0af3c8895bd0a0 (diff)
downloadkvmx-292cf855c9a1ba38dac6ee940ed8229f5167ffa5.tar.gz
kvmx-292cf855c9a1ba38dac6ee940ed8229f5167ffa5.tar.bz2
Add setsid into nohup approach
Diffstat (limited to 'kvmx')
-rwxr-xr-xkvmx2
1 files changed, 1 insertions, 1 deletions
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 \