[Spice-devel] [PATCH v5] libxl: add basic spice support for pv domUs

Fabio Fantoni fabio.fantoni at m2r.biz
Fri May 16 06:41:02 PDT 2014


Il 16/05/2014 14:47, Ian Campbell ha scritto:
> On Fri, 2014-05-16 at 14:37 +0200, Fabio Fantoni wrote:
>> This patch adds basic spice support for pv domUs.
>> The qemu parameters are the same as the hvm ones and they works.
>> Therefore xl cfg parameters are the same as the hvm ones except that
>> features not supported yet by pv domUs (vdagent and usbredirection)
>> are kept disabled by default.
>> It also enables vfb and vkb required to have basic spice working.
> Based on your response in <53722538.80106 at m2r.biz> I'm not sure if this
> an accurate description of what you are doing here. AFAICT what you are
> actually doing is enabling SPICE as a backend for the PVFB device, as an
> alternative to VNC and SDL. Is that correct or not?
>
> Ian.
>

Yes, if nobody has a better idea when I'll have sufficient time I'll try 
to complete the vfb part duplicating thespice parametersin vfb[] and 
adding parts "missing" looking like the example code about vnc.
In this patch version (5) for now I did one fix and all other your 
previous advices except the add of spice.enable check in 
libxl__need_xenpv_qemu not needed because is always true with vfb added.

About complete spice (hvm-only for now) I am also other patches adding 2 
more spice parameters that help to lower cpu usage while maintaining the 
highest quality effects and graphics even on high resolutions.
In my latest test I had windows 7 xen domUs with qxl, max resolution and 
32 bit color on 21-23 inch monitor with good performance.
The only 2 main problem reimained with spice I think that are qxl not 
working on linux domUs(xen related) and the high cpu usage for missed 
hardware video coding/decoding support (not xen related).

Thanks for any reply and sorry for my bad english.


More information about the Spice-devel mailing list