[Spice-devel] Guest clipboard is not available.

Marc-André Lureau mlureau at redhat.com
Mon Mar 10 04:44:24 PDT 2014


Hi

----- Original Message -----
> 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.
> 

spicy is a developer tool, not meant for end users. Please use virt-viewer instead.

It's easier for testing if you do Ctrl-C from a text editor in guest (or client) and try to paste with Ctrl-V in a text editor in client (or guest).

While doing this, you can set SPICE_DEBUG=1 environment on client, to observe the log.

In Windows, you can also get the vdagent and vdservice logs from  %WINDIR%\temp.

Please attach all those logs for further help.

cheers
  
> 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
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list