qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 752476] Re: monitor command mouse_button 1 moves mouse


From: Bernhard M. Wiedemann
Subject: [Qemu-devel] [Bug 752476] Re: monitor command mouse_button 1 moves mouse
Date: Fri, 08 Apr 2011 06:29:06 -0000

Hi.

I build a kvm-0.14 with this patch on top and it finally allowed me to issue a 
click using mouse_button via monitor.
Great! Thanks!


For my automated tests I use kvm like this:
/usr/bin/qemu-kvm -m 1024 -net user -monitor tcp:127.0.0.1:15222,server,nowait 
-net nic,model=virtio,macaddr=52:54:00:12:34:56 -serial file:serial0 -drive 
file=raid/l1,if=virtio,boot=on -boot dc -cdrom 
/opensuse/factory/iso/openSUSE-NET-i586-Build0046-Media.iso -vnc :99 -k de -cpu 
qemu32 -usb -usbdevice tablet

VNC is only there for manual interaction with automated testruns. All 
automation goes over the monitor interface.
Moving+Clicking over VNC/SDL of course always worked.

However, I found that even without -usbdevice tablet it will use
absolute mouse with openSUSE. It mentions VMMOUSE in /var/log/Xorg.0.log

I also noticed that when using VNC to move the mouse, the next
mouse_button command will move to the last position set with mouse_move
- not a problem for my needs, though.

SDL on a headless server is not possible because of Bug #691424

Btw: test results can be seen on http://openqa.opensuse.org/results/

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/752476

Title:
  monitor command mouse_button 1 moves mouse

Status in QEMU:
  New

Bug description:
  via the qemu -monitor interface, it is possible to move and click the mouse 
using
  mouse_move 20000 10000
  mouse_button 1
  but the mouse_button command always moves the mouse to (0,0) making it rather 
unusable to (auto-)trigger any widgets in the VM from the outside.

  Would be nice to have this available for my qemu/kvm based os-autoinst
  testing framework.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]