[Spice-devel] Guest clipboard is not available.

bitozoid bitozoid at gmail.com
Mon Mar 10 02:06:12 PDT 2014


I have a Windows7 guest with KVM/Qemu on a Gentoo host with i3 window
manager. I have installed all virtio drivers (storage, balloon, serial
and network) and spice-guest-tools. Vdagent and vdservice are running
as shown in Windows Task Manager.

However, copy and paste does not work. I have tried with virt-viewer
and spicy. If I press "Paste to guest" button in spicy I get this
message:

(spicy:17384): GSpice-WARNING **: Guest clipboard is not available.

Am I missing something in the guest or in the host?


More info:
Linux 3.10.32
Spice 0.12.3
Qemu 1.5.3
virtio-win 0.1-74
spice-guest-tools 0.74

Command line (as shown in /proc):
/usr/bin/qemu-system-x86_64 -machine accel=kvm -name 20140205-win7 -S
-machine pc-i440fx-1.5,accel=kvm,usb=off -m 4096 -realtime mlock=off
-smp 2,sockets=2,cores=1,threads=1 -uuid
8143daf4-1183-7943-b58e-78fc38c004bd -no-user-config -nodefaults
-chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/20140205-win7.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime
-no-shutdown -boot strict=on -device
piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x7 -device
virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive
file=/var/lib/libvirt/images/w7amd64.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=writeback
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x8,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-netdev tap,fd=19,id=hostnet0,vhost=on,vhostfd=20 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:f5:69:1c,bus=pci.0,addr=0x6
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-spice port=5900,addr=127.0.0.1,disable-ticketing,seamless-migration=on
-k es -vga qxl -global qxl-vga.ram_size=67108864 -global
qxl-vga.vram_size=67108864 -device
intel-hda,id=sound0,bus=pci.0,addr=0x3 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5


More information about the Spice-devel mailing list