Hi,
On 01/31/2012 07:58 PM, Hans de Goede wrote:
Hi,
On 01/31/2012 05:40 PM, Brown, Chris (GE Healthcare) wrote:
at the cli level (winxp guest):
Spice Console:
/usr/libexec/qemu-kvm -S -M rhel6.2.0 -cpu Nehalem -enable-kvm -m 1024 -smp
1,sockets=1,cores=1,threads=1 -name winxp -uuid
02465bab-b7f5-49ce-a1ec-4ffbe933a989 -smbios type=1,manufacturer=Red
Hat,product=RHEV
Hypervisor,version=6.2-0.1.rolling,serial=FF200008-FFFF-FFFF-FFFF-0021286B0EA2_00:21:28:6B:0E:9E,uuid=02465bab-b7f5-49ce-a1ec-4ffbe933a989
-nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/winxp.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=2012-01-31T16:37:58,driftfix=slew -no-shutdown -device
virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5 -drive
file=/rhev/data-center/42e81130-4b83-11e1-b521-00144f8d7c32/d5dcf4fd-1650-4b40-8fe3-b17f95e3d5c5/images/dba69993-fb0b-4205-8269-f192f5ac1f9a/90909c9b-aee9-4da1-a417-63bdd3ed5396,if=none,id=drive-ide0-0-0,format=raw,serial=05-8269-f192f5ac1f9a,cache=none,werror=stop,rerror=stop,aio=threads
-device ide-drive,bus=ide.0,unit=0,drive=drive-id
e0-0-0,id=ide0-0-0,bootindex=2 -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,bootindex=1 -netdev
tap,fd=27,id=hostnet0,vhost=on,vhostfd=28 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:39:6f:01,bus=pci.0,addr=0x3
-chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/winxp.com.redhat.rhevm.vdsm,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
-chardev spicevmc,id=charchannel1,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=com.redhat.spice.0
-usb -spice
port=5900,tls-port=5901,addr=0,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=main,tls-channel=inputs
-k en-us -vga qxl -global qxl-vga.vram_size=67108864 -device
AC97,id=sound0,bus=pci.0,addr=0x4
Thanks, that explains, no usb-tablet (which is ok for spice since the agent is
better, and the
usb-tablet causes a significant cpu usage even when idle), but also no ps2
mouse, so no mouse
emulation at all. I believe this is an ovirt bug.
On second thought, scrap that. My bad, given how the commandline has
-nodefconfig -nodefaults,
which means no default devices are created and there was no -device for a ps2
mouse on the
cmdline I assumed that there would be no ps2 mouse emulation enabled in the vm.
However I'm
wrong my reasoning was too logical and the qemu cmdline is not always
logical... Despite
the -nodefconfig -nodefaults the vm will include ps2 mouse emulation. So this
is *not* an
oVirt bug.
Still this exercise was not without result, what it shows is that using spice
with a
relative mouse (or server mode mouse in spice terms) is not working for you
Chris.
This probably is an issue with the spice client you are using. Chris, I've some
questions
to help us debug this:
1) In what way is the mouse not working, not working at all, or ... ?
2) Which client are you using (spicec, spicy, virt-viewer)?
3) Which version of this client are you using?
4) On which platform/os is the client running
5) Did you build the client from source, or downloaded it somewhere, if
you downloaded it, where from?
6) Which version of qemu and spice-server are you using on the host,
if the hosed is rpm based, can you please do rpm -q qemu spice-server
and include the output in your reply?
Regards,
Hans
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel