[Spice-devel] [PATCH vdagent-linux 0/4] Xspice support

Alon Levy alevy at redhat.com
Mon Sep 2 08:02:36 PDT 2013


With these patches and the related changes to xf86-video-qxl you can run Xspice with an agent.

The changes:
 add a parameter (-S for both vdagentd and vdagent) to set the udcs socket.
 try virtio as a UDS if it fails to open as a device (tried only after trying it as a device)
 if uinput file doesn't start with '/dev' treat it as a fake uinput which means write only of events (per linux/uinput.h) without ioctl.s

The net result is that vdagentd & vdagent can be used with Xspice and regular vms.

Alon Levy (4):
  vdagent: add option to change vdagentd socket
  vdagentd: support configurable socket to vdagent
  vdagentd: support virtio as uds for Xspice usage
  vdagentd: support fake uinput

 src/vdagent-virtio-port.c | 53 +++++++++++++++++++++++++++++++++++++++-----
 src/vdagent.c             |  9 ++++++--
 src/vdagentd-uinput.c     | 11 ++++++++--
 src/vdagentd-uinput.h     |  2 +-
 src/vdagentd.c            | 56 +++++++++++++++++++++++++++--------------------
 5 files changed, 96 insertions(+), 35 deletions(-)

-- 
1.8.3.1



More information about the Spice-devel mailing list