qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerhard Wiesinger <lists@wiesinger.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] hw/vmmouse.c: Disable vmmouse after reboot
Date: Fri, 3 Feb 2012 18:57:10 +0100 (CET)	[thread overview]
Message-ID: <alpine.LFD.2.02.1202031852530.15711@bbs.intern> (raw)
In-Reply-To: <4F2C17AE.3040507@codemonkey.ws>

On Fri, 3 Feb 2012, Anthony Liguori wrote:

> On 01/25/2012 02:04 PM, Gerhard Wiesinger wrote:
>> 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.
>> 
>> Signed-off-by: Gerhard Wiesinger <lists@wiesinger.com>
>
> Applied.  Thanks.
>
> Regards,
>
> Anthony Liguori

Thanks.

BTW: Why are always "signed offs" generated when a maintainer commits?
e.g. 069ab0eb8a46bc4ff6f4d4d81bf037d3441347da
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

Ciao,
Gerhard

--
http://www.wiesinger.com/

  reply	other threads:[~2012-02-03 17:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-25 20:04 [Qemu-devel] [PATCH] hw/vmmouse.c: Disable vmmouse after reboot Gerhard Wiesinger
2012-01-26  8:26 ` Andreas Färber
2012-01-27  6:53   ` Gerhard Wiesinger
2012-02-03 17:21 ` Anthony Liguori
2012-02-03 17:57   ` Gerhard Wiesinger [this message]
2012-08-22 17:01     ` Andreas Färber
2012-08-22 16:54   ` Andreas Färber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.02.1202031852530.15711@bbs.intern \
    --to=lists@wiesinger.com \
    --cc=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).