Clipboard sharing protocol
This protocol allows an in-guest agent to share clipboard data with dom0, so that it could be integrated with an emulated frame buffer, such as that exposed by qemu over VNC.
Status
Status: version 0.1 (early draft)
Overview
The protocol is intended to be used over a 'channel' with name: org.xenproject.guest.clipboard.0.1
The protocol is a subset of the VNC RFB protocol (http://www.realvnc.com/docs/rfbproto.pdf). Since the main expected use is to integrate with a qemu VNC frame buffer, RFB primitives should be readily available in the implementation.
We use only the following messages:
- ProtocolVersion
- SecurityVersion
- ClientInit
- ServerInit
- ClientCutText
- ServerCutText
Protocol
The backend acts as the RFB server, the guest acts as the RFB client.