1. 02 2月, 2012 1 次提交
    • G
      hw/vmmouse.c: Disable vmmouse after reboot · 069ab0eb
      Gerhard Wiesinger 提交于
      Bugfix after reboot when vmmouse was enabled and another OS which uses e.g. PS/2
      mouse.
      
      Details:
      When a guest activated the vmmouse followed by a reboot the vmmouse was still
      enabled and the PS/2 mouse was therefore unsusable. When another guest is then
      booted without vmmouse support (e.g. PS/2 mouse) the mouse is not working.
      
      Reason is that VMMouse has priority and disables all other mouse entities
      and therefore must be disabled on reset.
      
      Testscenario:
      1.) Boot e.g. OS with VMMouse support (e.g. Windows with VMMouse tools)
      2.) reboot
      3.) Boot e.g. OS without VMMouse support (e.g. DOS) => PS/2 mouse doesn't work
           any more. Fixes that issue.
      
      Testscenario 2 by Jan Kiszka <jan.kiszka@siemens.com>:
      Confirm that this patch fixes a real issue. Setup: qemu.git,
      opensuse 11.4 guest, SDL graphic, system_reset while guest is using the
      vmmouse. Without the patch, the vmmouse become unusable after the
      reboot. Also, the mouse stays in absolute mode even before X starts again.
      
      Fixed by:
      Disabling the vmmouse in its reset handler.
      Tested-by: NAndreas F=E4rber <afaerber@suse.de>
      Signed-off-by: NGerhard Wiesinger <lists@wiesinger.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      069ab0eb
  2. 28 1月, 2012 1 次提交
  3. 22 3月, 2011 1 次提交
  4. 13 2月, 2011 1 次提交
  5. 12 2月, 2011 2 次提交
  6. 21 10月, 2010 1 次提交
    • G
      vmmouse: adapt to mouse handler changes. · cd496926
      Gerd Hoffmann 提交于
      This patch updates the vmmouse handler registration and activation.
      
      Old behavior:
        vmmouse_read_id, vmmouse_request_relative and vmmouse_request_absolute
        unregister the handler and re-register it.
      
      New behavior:
        vmmouse_request_relative and vmmouse_request_absolute will unregister
        the handler in case the mode did change.  Then register and active the
        handler with current mode if needed.
      
      Note that the old code never ever *activates* the handler, so the
      vmmouse doesn't receive events.  This trips up Fedora 14 for example:
      Boot a default install without usb tablet, watch the X-Server activating
      the vmmouse then, enjoy a non-functional mouse.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      cd496926
  7. 06 7月, 2010 1 次提交
  8. 22 5月, 2010 1 次提交
  9. 05 10月, 2009 1 次提交
  10. 12 9月, 2009 1 次提交
  11. 06 2月, 2009 1 次提交
  12. 13 12月, 2008 1 次提交
  13. 18 11月, 2007 1 次提交
  14. 17 9月, 2007 1 次提交
  15. 27 8月, 2007 2 次提交
  16. 21 3月, 2007 1 次提交