From patchwork Wed Jan 4 16:54:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: hw/vmmouse.c: Fix to disable vmmouse after reboot Date: Wed, 04 Jan 2012 06:54:45 -0000 From: Gerhard Wiesinger X-Patchwork-Id: 134298 Message-Id: To: qemu-devel@nongnu.org Bugfix after reboot when vmmouse was enabled and another OS which uses e.g. PS/2 mouse. Signed-off-by: Gerhard Wiesinger --- 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)