[Spice-devel] Vdagent not working on xen linux hvm DomUs

Fabio Fantoni fabio.fantoni at m2r.biz
Mon Oct 14 16:52:45 CEST 2013


I have added vdagent support on libxl for hvm domUs using upstream qemu.
On windows domUs it is working without problems found in over one year 
that I'm using it.

On linux domUs is not working, it seems to be a problem on the kernel 
side and/or linux vdagent services.
The domU parameters are the same on both linux and windows domUs and 
below you can be find some details on dom0 if needed:
http://lists.xen.org/archives/html/xen-devel/2013-10/msg01111.html
On my latest test with Fedora19 domU:
- on install one month ago there was this log: 
/var/log/spice-vdagent.log (nomore now)
> spice-vdagent[1398]: err: Missing virtio device 
> '/dev/virtio-ports/com.redhat.spice.0': No such file or directory
- spice-vdagent package is installed
- /dev/virtio-ports is missed
- lspci shows virtio console with virtio-pci driver in use

Tried to check service:

# systemctl status spice-vdagentd
spice-vdagentd.service - Agent daemon for Spice guests
    Loaded: loaded (/usr/lib/systemd/system/spice-vdagentd.service; enabled)
    Active: inactive (dead)

# systemctl start spice-vdagentd
# systemctl status spice-vdagentd
spice-vdagentd.service - Agent daemon for Spice guests
    Loaded: loaded (/usr/lib/systemd/system/spice-vdagentd.service; enabled)
    Active: active (running) since lun 2013-10-14 16:32:52 CEST; 6s ago
   Process: 1723 ExecStart=/usr/sbin/spice-vdagentd 
$SPICE_VDAGENTD_EXTRA_ARGS (code=exited, status=0/SUCCESS)
   Process: 1720 ExecStartPre=/bin/rm -f 
/var/run/spice-vdagentd/spice-vdagent-sock (code=exited, status=0/SUCCESS)
  Main PID: 1725 (spice-vdagentd)
    CGroup: name=systemd:/system/spice-vdagentd.service
            ââ1725 /usr/sbin/spice-vdagentd

On /var/log/messages:
...
> Oct 14 16:32:52 localhost systemd[1]: Starting Agent daemon for Spice 
> guests...
> Oct 14 16:32:52 localhost systemd[1]: PID file 
> /var/run/spice-vdagentd/spice-vdagentd.pid not readable (yet?) after 
> start.
> Oct 14 16:32:52 localhost systemd[1]: Started Agent daemon for Spice 
> guests.

But vdagent is still not working.


If you need more details and test tell me and I'll post them.

Thanks for any reply.


More information about the Spice-devel mailing list