[Spice-devel] problems with cut n paste - WinXP VM specificall

Mike Hinz mike.hinz at yr20.com
Fri Sep 30 06:55:04 PDT 2011



On Fri, 2011-09-30 at 12:28 +0200, Christophe Fergeau wrote:
> Hey,
> 
> On Thu, Sep 29, 2011 at 08:05:53PM -0500, Mike Hinz wrote:
> > This WinXP VM will not cut n paste at all.  I've struggled to find the
> > issue and the only clues I have are as follows:
> > 
.
.
.

> 
> How do you start your Windows VM? Maybe you're using different parameters
> than for the linux guest?
> 
> Christophe

I started both VMs via Fedora's virt-manager, latest version from
virt-preview.  

Here's what's generated for the F16 VM in which cut n paste does work.  

LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin
QEMU_AUDIO_DRV=spice /usr/bin/qemu-kvm -S -M pc-0.14 -enable-kvm -m 2048
-smp 1,sockets=1,cores=1,threads=1 -name F160-beta-rc3 -uuid
61a4a3a6-7db5-c631-895e-c9716ce95fc0 -nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/F160-beta-rc3.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,multifunction=on,addr=0x7.0x0 -drive file=/home/mike/vmstore/f16-beta-rc3.img,if=none,id=drive-virtio-disk0,format=qcow2 -device virtio-blk-pci,bus=pci.0,multifunction=on,addr=0x5.0x0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=24,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:ed:19:14,bus=pci.0,multifunction=on,addr=0x3.0x0 -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 -usb -device usb-tablet,id=input0 -spice port=5900,addr=127.0.0.1,disable-ticketing -vga qxl -global qxl-vga.vram_size=67108864 -device intel-hda,id=sound0,bus=pci.0,multifunction=on,addr=0x4.0x0 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,multifunction=on,addr=0x6.0x0


Here's what's generated for the WinXP VM in which cut n paste doesn't
work.

LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin
QEMU_AUDIO_DRV=spice /usr/bin/qemu-kvm -S -M pc-0.14 -enable-kvm -m 2000
-smp 1,sockets=1,cores=1,threads=1 -name winxp -uuid
4a8d92fc-d13b-22e2-e668-3ca188248883 -nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/winxp.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,multifunction=on,addr=0x6.0x0 -drive file=/home/mike/vmstore/winxp3.img,if=none,id=drive-ide0-0-0,format=qcow2 -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -netdev tap,fd=24,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:14:cb:b3,bus=pci.0,multifunction=on,addr=0x3.0x0 -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 -usb -device usb-tablet,id=input0 -spice port=5901,addr=127.0.0.1,disable-ticketing -vga qxl -global qxl-vga.vram_size=9437184 -device AC97,id=sound0,bus=pci.0,multifunction=on,addr=0x4.0x0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,multifunction=on,addr=0x5.0x0

The above looks ok to me with respect to at least the Spice elements,
but I'm certainly not an expert.  

After seeing the above, can you comment on what might be the issue?
There have been some issues over 'pci multifunction' devices not working
correctly for Windows VMs, but I have no idea of that issue is related
to this.

Thanks in advance for any help!

Mike




More information about the Spice-devel mailing list