summaryrefslogtreecommitdiffstats
path: root/ui/trace-events
diff options
context:
space:
mode:
authorMarc-André Lureau2021-07-18 22:33:31 +0200
committerMarc-André Lureau2021-12-21 07:50:21 +0100
commit835f69f4e64e2285253bae57f618a75a2756f27c (patch)
tree51413bf4743019cfe78eddf1bf5ca79d0c564c61 /ui/trace-events
parentui: generalize clipboard notifier (diff)
downloadqemu-835f69f4e64e2285253bae57f618a75a2756f27c.tar.gz
qemu-835f69f4e64e2285253bae57f618a75a2756f27c.tar.xz
qemu-835f69f4e64e2285253bae57f618a75a2756f27c.zip
ui/vdagent: add serial capability support
The Spice agent implements a simple serial mechanism to avoid clipboard races between client & guest. See: https://gitlab.freedesktop.org/spice/spice-protocol/-/commit/045a6978d6dbbf7046affc5c321fa8177c8cce56 Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/trace-events')
-rw-r--r--ui/trace-events1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/trace-events b/ui/trace-events
index b9c0dd0fa1..e832c3e365 100644
--- a/ui/trace-events
+++ b/ui/trace-events
@@ -135,3 +135,4 @@ vdagent_recv_msg(const char *name, uint32_t size) "msg %s, size %d"
vdagent_peer_cap(const char *name) "cap %s"
vdagent_cb_grab_selection(const char *name) "selection %s"
vdagent_cb_grab_type(const char *name) "type %s"
+vdagent_cb_serial_discard(uint32_t current, uint32_t received) "current=%u, received=%u"