[virt-tools-list] Changing spice image compression algorithm in virt-manager

Rune Kjær Svendsen runesvend at gmail.com
Mon Jun 16 15:14:46 UTC 2014


Thanks a lot! I don't get any errors when starting the VM, so I assume the
setting is in effect.

I don't see any difference in performance though. Reading threads around
the internet, I get the impression that it's possible to get native
performance (ie. same framerate when I watch a video on the VM and view it
using spicec, as viewing the video on the host), like this comment says:
https://bugzilla.redhat.com/show_bug.cgi?id=827381#c2

I don't find this to be the case though. Have you been able to achieve
native performance for video content over SPICE, and if so how?

Cheers!

/Rune


On Mon, Jun 16, 2014 at 9:04 AM, Giuseppe Scrivano <gscrivan at redhat.com>
wrote:

> Rune Kjær Svendsen <runesvend at gmail.com> writes:
>
> > Hello list
> >
> > I'm experimenting with improving performance of viewing a qemu guest
> > running on localhost via SPICE.
> >
> > I would like to see if turning off image compression will increase the
> > framerate I currently get.
> >
> > This is done by adding the following option to the -spice command when
> > running qemu-system-x86_64:
> >
> > image-compression=off
> >
> > But I can't find out how to add the option in virt-manager. If this
> > isn't possible, is there some other way of adding this option to the -
> > spice options list when virt-manager runs qemu-system-x86_64?
>
> you can edit the definition XML for the virtual machine trough virsh:
>
> # virsh edit $VM_NAME
>
> and specify the image compression in the graphics xml block, mine looks
> like this:
>
>     <graphics type='spice' autoport='yes' listen='::'>
>       <listen type='address' address='::'/>
>       <image compression='off'/>
>     </graphics>
>
> Regards,
> Giuseppe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140616/48b86687/attachment.htm>


More information about the virt-tools-list mailing list