Features/IntegratedCopyPaste

From QEMU
Revision as of 05:02, 21 June 2013 by Pallav (talk | contribs)

Summary

Users have come to expect copy-paste between host and guest to work. This is also called clipboard sharing and makes it easier to work with graphical guests.

Details

A per-session guest agent is needed to listen X11 PRIMARY and CLIPBOARD selections [0]. This agent will register to the GTK events related to those X11 selections and relay them to the host front-end using JSON. This is for the guest->host direction. The other direction will be supported as well. A qemu-ga software needs to installed in the guest system for this to work. Whenever a new session is initiated for a guest, a session specific process would start in the guest, which will talk to the qemu-ga service via a unix socket which in turn will communicate with the hypervisor on the host via a virtio-serial socket to transfer the content between the guest and the host.


Owner

Name: Ozan Çağlayan

  • Email: ozancag@gmail.com

Name: Pallav Agrawal

  • Email: agr.pallav@gmail.com


References

[0]: http://en.wikipedia.org/wiki/X_Window_selection

Status

  • Ozan

A preliminary prototype is available at: https://github.com/ozancaglayan/qemu-copy-paste

  • Pallav

Track my progress here