diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-19 07:39:37 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-21 09:42:44 +0200 |
commit | f0349f4d8947ad32d0fa4678cbf5dbb356fcbda1 (patch) | |
tree | dacf0ee99c7340083b12a3d36e2dc4b758d5c92c /chardev/char.c | |
parent | 56081919801f1a118983b3a500fb2270844ac8c2 (diff) |
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chardev/char.c b/chardev/char.c index 52c567e8ff..d959eec522 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", |