descriptionnone
repository URLhttps://gitlab.freedesktop.org/spice/linux/vd_agent.git
ownerhramrach@gmail.com
last changeThu, 9 Feb 2023 09:22:01 +0000 (9 10:22 +0100)
last refreshTue, 28 May 2024 19:40:47 +0000 (28 21:40 +0200)
content tags
add:
README.md

Spice agent for Linux

The spice agent for Linux consists of 2 parts, a daemon spice-vdagentd and a per X-session process spice-vdagent. The daemon gets started in Spice guests through a Sys-V initscript or a systemd unit. The per X-session gets automatically started in desktop environments which honor /etc/xdg/autostart, and under gdm.

The main daemon needs to know which X-session daemon is in the currently active X-session (think switch user functionality) for this console kit or systemd-logind (compile time option) is used. If no session info is available only one X-session agent is allowed.

Features:

Install

From inside your virtual machine (e.g., GNOME Boxes), use your guest system’s package manager to install.

For example, if you’re running a Debian/Ubuntu derivative in a VM, use:

sudo apt install spice-vdagent

How it works

All vdagent communications on the guest side run over a single pipe which gets presented to the guest os as a virtio serial port.

Under windows this virtio serial port has the following name:

\\\\.\\Global\\com.redhat.spice.0

Under Linux this virtio serial port has the following name:

/dev/virtio-ports/com.redhat.spice.0

To enable the virtio serial port you need to pass the following params on the qemu cmdline:

-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5 \
-chardev spicevmc,name=vdagent,id=vdagent \
-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,name=com.redhat.spice.0
shortlog
2023-02-09 Fabian VogtSwitch to spice-vdagent.service by defaultmaster
2023-01-13 Victor Tosovdagent: Remove watch event on vdagent_display_destroy()
2022-09-28 Abderrahim... Makefile.am: don't create /var/run/spice-vdagentd
2022-02-14 Victor TosoRelease 0.22.1spice-vdagent-0.22.1
2022-02-14 Frediano ZiglioDo not process X11 events in vdagent_x11_create
2022-02-07 Victor TosoRelease 0.22.0spice-vdagent-0.22.0
2022-01-17 Kevin Pougetvdagentd/uinput: Handle side mouse buttons (BTN_SIDE...
2021-12-20 Victor Tosoudscs: udscs_connect: return error to caller
2021-12-20 Victor Tosovdagent: udscs: limit retry to connect to vdagentd
2021-12-02 Adrian Bunkconfigure.ac: autoconf 2.71 compatibility
2021-07-16 Rex DieterProvide systemd user spice-vdagent.service
2021-05-06 Maxim Cournoyertests: Invoke ps in a way that does not truncate wide...
2021-05-04 Marc-André... Fix g_memdup deprecation warning with glib >= 2.68
2021-03-25 Chris Mayobuild: replace bashism in configuration for GTK 4
2021-01-13 Julien RopéRelease 0.21.0spice-vdagent-0.21.0
2020-11-19 Julien RopéUse the Mutter API from display.c
...
tags
2 years ago spice-vdagent-0.22.1 Release 0.22.1
2 years ago spice-vdagent-0.22.0 Release 0.22.0
3 years ago spice-vdagent-0.21.0 spice-vdagent-0.21.0
4 years ago spice-vdagent-0.20.0 Release 0.20.0
5 years ago spice-vdagent-0.19.0 Release 0.19.0
5 years ago spice-vdagent-0.18.0 spice-vdagent 0.18.0
7 years ago spice-vdagent-0.17.0
8 years ago spice-vdagent-0.16.0 spice-vdagent 0.16.0
10 years ago spice-vdagent-0.15.0
11 years ago spice-vdagent-0.14.0 Tag as spice-vdagent-0.14.0
11 years ago spice-vdagent-0.12.1 Tag as spice-vdagent-0.12.1
11 years ago spice-vdagent-0.12.0 Tag as spice-vdagent-0.12.0
12 years ago spice-vdagent-0.10.1 Tag as spice-vdagent-0.10.1
12 years ago spice-vdagent-0.10.0 Tag as spice-vdagent-0.10.0
12 years ago spice-vdagent-0.8.1 Tag as spice-vdagent-0.8.1
13 years ago spice-vdagent-0.8.0 tag as spice-vdagent-0.8.0
...
heads
15 months ago master
forks
Cached version (1984s old)
vd_agent/hramrach.git hramrach@gmail.com 7 years ago