aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-30 19:33:40 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-30 19:33:40 -0200
commit3c7d9fc8f2eec3b6ff4a407c3c46155602ae6494 (patch)
treebec892482e20ea2f912a4fd76d886e64ace22f82
parentd340da83d72b102106922a426ee2ece60501ac61 (diff)
downloadkvmx-3c7d9fc8f2eec3b6ff4a407c3c46155602ae6494.tar.gz
kvmx-3c7d9fc8f2eec3b6ff4a407c3c46155602ae6494.tar.bz2
Oops
-rwxr-xr-xkvmx9
1 files changed, 5 insertions, 4 deletions
diff --git a/kvmx b/kvmx
index 43c132a..f6355ff 100755
--- a/kvmx
+++ b/kvmx
@@ -384,10 +384,10 @@ function kvmx_up {
fi
if [ -z "$spice" ] || [ "$spice" == "1" ]; then
- spice_opts"-spice port=$PORT,addr=127.0.0.1,disable-ticketing,streaming-video=off,jpeg-wan-compression=never,playback-compression=off,zlib-glz-wan-compression=never,image-compression=off"
- spice_opts"$spice_opts -device virtio-serial-pci"
- spice_opts"$spice_opts -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0"
- spice_opts"$spice_opts -chardev spicevmc,id=spicechannel0,name=vdagent"
+ spice_opts="-spice port=$PORT,addr=127.0.0.1,disable-ticketing,streaming-video=off,jpeg-wan-compression=never,playback-compression=off,zlib-glz-wan-compression=never,image-compression=off"
+ spice_opts="$spice_opts -device virtio-serial-pci"
+ spice_opts="$spice_opts -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0"
+ spice_opts="$spice_opts -chardev spicevmc,id=spicechannel0,name=vdagent"
fi
# Run virtual machine
@@ -398,6 +398,7 @@ function kvmx_up {
-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 \
+ #-device virtio-balloon-pci,id=balloon0,bus=pci.0 \
-net $net_opts \
$qemu_opts &> $LOGFILE < /dev/null &