mirror of
https://github.com/qemu/qemu.git
synced 2026-11-06 11:54:52 +00:00
Add a "guest" flag to QemuClipboardPeer and set it on vdagent peer. Use the flag to keep track of number of registered guest peers and allow to query for their presence with qemu_clipboard_guest_peer_present(). This change makes it possible for a clipboard peer to determine if any guest side peers are present so they can tell whether a guest is actually able to participate in clipboard exchange. Signed-off-by: Lukasz Kornicki <lucas.kornicki@nutanix.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-ID: <20261030141442.264308-3-lucas.kornicki@nutanix.com>