Bugfix after reboot when vmmouse was enabled and another OS which uses e.g. PS/2
mouse.

Signed-off-by: Gerhard Wiesinger <li...@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

Reply via email to