[Spice-devel] Questions about Spice pv domUs

Fabio Fantoni fabio.fantoni at m2r.biz
Mon Sep 30 07:56:19 PDT 2013


I'm trying to implement basic spice support on xen pv domUs.

Test seems ok on Ubuntu 12.04 pv domU except mouse which is not visible.
I also tried agent-mouse=off on qemu spice options but is not working or 
maybe spicy (from spice-gtk 0.20) has problem in this case (option to 
grab mouse is already enabled).
I can't add vdagent for now on pv because it hasn't  pci support.
Are there xen parts which may give problem with mouse or couldn't be a 
xen related problem?

Qemu parameters on my test was:
> libxl: debug: libxl_dm.c:1282:libxl__spawn_local_dm: Spawning 
> device-model /usr/lib/xen/bin/qemu-system-i386 with arguments:
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm: 
> /usr/lib/xen/bin/qemu-system-i386
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   -xen-domid
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   19
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   -chardev
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm: 
> socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-19,server,nowait
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   -mon
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm: 
> chardev=libxl-cmd,mode=control
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   -nodefaults
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   -xen-attach
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   -name
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   PRECISE
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   -k
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   it
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   -spice
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm: 
> port=6002,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=off
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   -vga
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   xenfb
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   -M
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   xenpv
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   -m
> libxl: debug: libxl_dm.c:1284:libxl__spawn_local_dm:   1025

I have also another question for qemu/spice developer: I tried to change 
qemu -vga parameter to -device but isn't working and I not found nothing 
on docs or man. Is xenfb available with new qemu parameter -device?

Thanks for any reply.


More information about the Spice-devel mailing list