mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-25 14:32:00 +02:00
This patch adds an init script for copy & paste functionality between the guest & host. Run 'rc-service spice-vdagentd info' for details on the settings for libvirt. By default this runs with a single session possible. For multiple sessions remove '-X' to disable consolekit from the init script & install slim or lxdm. Tested on 32 & 64 bit KVM - but should also work on XEN / LXC run by libvirt. Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
12 lines
223 B
Diff
12 lines
223 B
Diff
--- spice-vdagent-0.15.0/src/udscs.c
|
|
+++ spice-vdagent-0.15.0/src/udscs.c.new
|
|
@@ -26,6 +26,7 @@
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
#include <syslog.h>
|
|
#include <unistd.h>
|
|
#include <errno.h>
|
|
|