diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-30 19:43:56 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-30 19:43:56 -0200 |
commit | dbdc15291e7004fe722c221782f8a82b198a5619 (patch) | |
tree | 8c39d6811f418372e8d398e6c6bf9db9c1961670 | |
parent | 9908a6cb41d227246b2af4a9c45ab2c9011d8fa6 (diff) | |
download | kvmx-dbdc15291e7004fe722c221782f8a82b198a5619.tar.gz kvmx-dbdc15291e7004fe722c221782f8a82b198a5619.tar.bz2 |
Minor fixes
-rwxr-xr-x | kvmx | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 \ |