aboutsummaryrefslogtreecommitdiff
path: root/chardev/char.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2021-05-19 07:39:37 +0200
committerGerd Hoffmann <kraxel@redhat.com>2021-05-21 09:42:44 +0200
commitf0349f4d8947ad32d0fa4678cbf5dbb356fcbda1 (patch)
treedacf0ee99c7340083b12a3d36e2dc4b758d5c92c /chardev/char.c
parent56081919801f1a118983b3a500fb2270844ac8c2 (diff)
downloadqemu-f0349f4d8947ad32d0fa4678cbf5dbb356fcbda1.zip
qemu-f0349f4d8947ad32d0fa4678cbf5dbb356fcbda1.tar.gz
qemu-f0349f4d8947ad32d0fa4678cbf5dbb356fcbda1.tar.bz2
ui/vdagent: add clipboard support
This patch adds support for clipboard messages to the qemu vdagent implementation, which allows the guest exchange clipboard data with qemu. Clipboard support can be enabled/disabled using the new 'clipboard' parameter for the vdagent chardev. Default is off. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20210519053940.1888907-1-kraxel@redhat.com Message-Id: <20210519053940.1888907-7-kraxel@redhat.com>
Diffstat (limited to 'chardev/char.c')
-rw-r--r--chardev/char.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/chardev/char.c b/chardev/char.c
index 52c567e..d959eec 100644
--- a/chardev/char.c
+++ b/chardev/char.c
@@ -934,6 +934,9 @@ QemuOptsList qemu_chardev_opts = {
},{
.name = "mouse",
.type = QEMU_OPT_BOOL,
+ },{
+ .name = "clipboard",
+ .type = QEMU_OPT_BOOL,
#ifdef CONFIG_LINUX
},{
.name = "tight",