I have a RHEL 6 Desktop with a windows KVM. How could I get the clipboard working, just as there is a solution in VirtualBox to share the clipboard between host and guest?
As already mentioned by @gertvdijk, SPICE is KVM's own way to address that.
Otherwise, a more generic solution that works equally well for any type of virtual and real machine is to use remote desktop or VNC to connect to the machine itself.
If you're not using SPICE, you're using VNC already anyway. However, in that case, the VNC server is provided by the host (which serves the video memory, keyboard and mouse of the Guest, but has no access to the Guest's clipboard which is something internal to the desktop environment inside the Guest).
By moving the VNC server to the Guest, you put it in a place where it has access to the clipboard.
Remote Desktop has a few other advantage over VNC (like file, device and sound sharing).
Edward's answer, and google, solved this for me. Gertvdijk had also mentioned it. Installing the Spice Windows Guest Tools on my windows guest allowed clipboard sharing without even having to restart the guest. In a shameless attempt to get enough reputation to vote up, I'll fill in the gaps that slm suggested, and seeing it was high in the list in my search, will hopefully help someone :)
Spice is among other things a display server/front-end for KVM to give better graphics performance, and is available as a display option by default, as VNC server is, through virt-manager; a front end script for creating/managing VMs, or of course manually from the command line (see link below). It, like VNC, allows you to connect to remote VMs' displays also, and using virt-manager, connecting to the libvirtd and VMs of another machine is easy via ssh etc
To get the spice guest tools running (I have ubuntu host, windows 7 guest), download the installer (contains the QXL video driver, and the spice agent) from the Guest -> Windows Binaries section, and choose Windows guest tools (at time of writing is spice-guest-tools-0.100.exe). Run the installer, and the drivers will be installed, the "Spice VDAgent" service will be installed, and started, and the clipboard sharing will work from there
Some more info on spice can be found here.
Spice supports clipboard. But you must install spice-guest program in vm. Otherwise, clipboard will not work.
You can enable clipboard by select checkbox in spice-gtk program.Then you can copy from client to paste in vm,you can also copy from vm to paste in client.