diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-30 19:33:40 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-30 19:33:40 -0200 |
commit | 3c7d9fc8f2eec3b6ff4a407c3c46155602ae6494 (patch) | |
tree | bec892482e20ea2f912a4fd76d886e64ace22f82 | |
parent | d340da83d72b102106922a426ee2ece60501ac61 (diff) | |
download | kvmx-3c7d9fc8f2eec3b6ff4a407c3c46155602ae6494.tar.gz kvmx-3c7d9fc8f2eec3b6ff4a407c3c46155602ae6494.tar.bz2 |
Oops
-rwxr-xr-x | kvmx | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 & |