diff options
-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 & |