<div dir="ltr">2016-07-11 4:47 GMT-03:00 Christophe Fergeau <<a href="mailto:cfergeau@redhat.com">cfergeau@redhat.com</a>>:<br>><br>> Hey,<br>><br>> On Sun, Jul 10, 2016 at 11:00:46PM -0300, Adriano Moura wrote:<br>> > I've been trying to use a virtual machine over wi-fi but I'm having trouble<br>> > activating the lossy compression method in spice. I can reach about 50mbps<br>> > but that does not cut with lossless compression while playing a video. I've<br>> > tried all command switches for qemu related to spice compression methods,<br>> > but no such luck. Here is an excerpt of the machine's xml config:<br>> ><br>> > <graphics type='spice' autoport='yes' listen='0.0.0.0'><br>> > <listen type='address' address='0.0.0.0'/><br>> > </graphics><br>> > [...]<br>> > <qemu:commandline><br>> > <qemu:arg value='-spice'/><br>> > <qemu:arg<br>> > value='image-compression=auto-glz,streaming-video=all,jpeg-wan-compression=always,zlib-glz-wan-compression=auto,playback-compression=on'/><br>> > </qemu:commandline><br>> ><br>> > Tried different values and checked if qemu's process is carrying those<br>> > arguments. (it did)<br>><br>> libvirt has 'native' support for these arguments, see<br>> <a href="https://libvirt.org/formatdomain.html#elementsGraphics">https://libvirt.org/formatdomain.html#elementsGraphics</a> , I'd recommend<br>> using these XML nodes rather than trying to force things through<br>> qemu:arg.<br>><br>> Christophe<br><br>Thanks, that did solve my problem! I remember
landing on that page but for some reason I only checked the other
sections related to spice.<br><br>Adriano<br></div>