aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmx b/kvmx
index b9ea4e9..1a06c4a 100755
--- a/kvmx
+++ b/kvmx
@@ -394,7 +394,7 @@ function kvmx_up {
# See https://en.wikipedia.org/wiki/Nohup#Overcoming_hanging
nohup kvm -m $memory -name $VM \
-drive file=$image,if=$drive_interface $graphics $shared \
- $spice \
+ $spice_opts \
-chardev "socket,id=monitor,path=$MONITORFILE,server,nowait" -mon chardev=monitor,mode=readline \
-chardev "socket,id=serial0,path=$CONSOLEFILE,server" -device isa-serial,chardev=serial0 \
-smp $smp -soundhw ac97 -cpu host -balloon virtio \
@@ -413,7 +413,7 @@ function kvmx_up {
# Thanks kvm-manager code for that portion
local screen_log_args=-L
if dpkg --compare-versions "$screen_version" ge 4.05; then
- screen_log_args="-L ./servicelog"
+ screen_log_args="-L $DATADIR/servicelog"
fi
/usr/bin/screen -D -m $screen_log_args \