Not a problem I am happy to help in any way that I can.
To Clarify I executed the same tests with the same results using both RHEV and ovirt.
I am using:
oVirt (FC16 + oVirt Nightly builds)
Hans - is there any downside/conflict if usbtablet is passed when local
mouse/agent is used?
if not, we could pass usbtablet when booting a guest not known to have
the agent installed from previous run?
Node wise I use EL6 in my case Scientific Linux 6.x.
The behavior I observe with the mouse in windows or legacy linux guests for example with
a spice console is:
- Erratic mouse movements - mouse jumps all over the spice console randomly
- Mouse stuck to console border - the mouse simply sticks to the top of the console (EG:
first row of pixels) and moves left to right there only.
- No left or right mouse input seems to be recognized in either of the above cases
The spice console used in both the case of RHEV or ovirt:
For ovirt I rebuild the above rpm and extract the msi and cabs then place them into the
appropriate (/usr/share/rhevm/rhevm.ear/...) locations
When testing outside of ovirt I have used both spiec and spicey to connect to the guest
Installed spice packages versions on my EL6 (SL6.2) client in that case:
Installed spice packages on the EL6 (SL6.2) nodes
From: Hans de Goede [mailto:firstname.lastname@example.org]
Sent: Wednesday, February 01, 2012 3:36 AM
To: Brown, Chris (GE Healthcare)
Cc: Itamar Heim; André Felício; spice-devel(a)lists.freedesktop.org; users(a)ovirt.org
Subject: Re: [Spice-devel] [Users] oVirt console plans
On 01/31/2012 07:58 PM, Hans de Goede wrote:
> 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
>> -nodefconfig -nodefaults -chardev
>> ,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc
>> base=2012-01-31T16:37:58,driftfix=slew -no-shutdown -device
>> p,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
> 1 -netdev tap,fd=27,id=hostnet0,vhost=on,vhostfd=28 -device
> ,addr=0x3 -chardev
> edhat.rhevm.vdsm,server,nowait -device
> el0,name=com.redhat.rhevm.vdsm -chardev
> spicevmc,id=charchannel1,name=vdagent -device
> el1,name=com.redhat.spice.0 -usb -spice
> s-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?