From: Gerhard Wiesinger <lists@wiesinger.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] hw/vmmouse.c: Fix to disable vmmouse after reboot
Date: Wed, 4 Jan 2012 17:54:45 +0100 (CET) [thread overview]
Message-ID: <alpine.LFD.2.02.1201041752270.17663@bbs.intern> (raw)
Bugfix after reboot when vmmouse was enabled and another OS which uses e.g. PS/2
mouse.
Signed-off-by: Gerhard Wiesinger <lists@wiesinger.com>
---
hw/vmmouse.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/vmmouse.c b/hw/vmmouse.c
index 1113f33..f9f5b53 100644
--- a/hw/vmmouse.c
+++ b/hw/vmmouse.c
@@ -254,6 +254,8 @@ static void vmmouse_reset(DeviceState *d)
s->status = 0xffff;
s->queue_size = VMMOUSE_QUEUE_SIZE;
+
+ vmmouse_disable(s);
}
static int vmmouse_initfn(ISADevice *dev)
--
1.7.6.5
next reply other threads:[~2012-01-04 16:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-04 16:54 Gerhard Wiesinger [this message]
2012-01-04 17:10 ` [Qemu-devel] [PATCH] hw/vmmouse.c: Fix to disable vmmouse after reboot Andreas Färber
2012-01-04 17:25 ` Gerhard Wiesinger
2012-01-08 12:01 ` Gerhard Wiesinger
2012-01-08 16:31 ` Andreas Färber
2012-01-12 18:37 ` Andreas Färber
2012-01-24 12:14 ` Jan Kiszka
2012-01-25 20:08 ` Gerhard Wiesinger
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.1201041752270.17663@bbs.intern \
--to=lists@wiesinger.com \
--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).