diff options
author | Gerd Hoffmann | 2021-05-19 07:39:35 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2021-05-21 09:42:44 +0200 |
commit | de74a22cc82dd40d63af399b81e40f56c8a9c535 (patch) | |
tree | 96e62c93e3be193dc0e55fd1b36c46e56d2caf04 /ui/trace-events | |
parent | ui: add clipboard documentation (diff) | |
download | qemu-de74a22cc82dd40d63af399b81e40f56c8a9c535.tar.gz qemu-de74a22cc82dd40d63af399b81e40f56c8a9c535.tar.xz qemu-de74a22cc82dd40d63af399b81e40f56c8a9c535.zip |
ui/vdagent: core infrastructure
The vdagent protocol allows the guest agent (spice-vdagent) and the
spice client exchange messages to implement features which require
guest cooperation, for example clipboard support.
This is a qemu implementation of the spice client side. This allows
the spice guest agent talk to qemu directly when not using the spice
protocol.
usage: qemu \
-chardev qemu-vdagent,id=vdagent \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0
This patch adds just the protocol basics: initial handshake and
capability negotiation. The following patches will add actual
functionality and also add fields to the initially empty
ChardevVDAgent qapi struct.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20210519053940.1888907-1-kraxel@redhat.com
Message-Id: <20210519053940.1888907-5-kraxel@redhat.com>
Diffstat (limited to 'ui/trace-events')
-rw-r--r-- | ui/trace-events | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/trace-events b/ui/trace-events index 5d1da6f236..c34cffb045 100644 --- a/ui/trace-events +++ b/ui/trace-events @@ -124,3 +124,11 @@ xkeymap_extension(const char *name) "extension '%s'" xkeymap_vendor(const char *name) "vendor '%s'" xkeymap_keycodes(const char *name) "keycodes '%s'" xkeymap_keymap(const char *name) "keymap '%s'" + +# vdagent.c +vdagent_open(void) "" +vdagent_close(void) "" +vdagent_send(const char *name) "msg %s" +vdagent_recv_chunk(uint32_t size) "size %d" +vdagent_recv_msg(const char *name, uint32_t size) "msg %s, size %d" +vdagent_peer_cap(const char *name) "cap %s" |