]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Set screen logfile
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 22 May 2019 19:24:51 +0000 (16:24 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 22 May 2019 19:24:51 +0000 (16:24 -0300)
kvmx

diff --git a/kvmx b/kvmx
index f86add827276923aeb5db71c78f43610a67c06f8..eeff0e3b7600c879388c185b377154b3f72d122d 100755 (executable)
--- a/kvmx
+++ b/kvmx
@@ -527,7 +527,7 @@ function kvmx_up {
 
   # Run virtual machine, screen approach
   # This is more immune to hangups
-  screen -S kvmx-qemu-$VM -d -m kvm -m $memory -name $VM                                            \
+  screen -L $LOGFILE -S kvmx-qemu-$VM -d -m 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                                                             \