From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzsXF-0001eC-C9 for qemu-devel@nongnu.org; Tue, 21 Feb 2012 11:25:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RzsX9-0002y6-MJ for qemu-devel@nongnu.org; Tue, 21 Feb 2012 11:25:49 -0500 Received: from ssl.dlh.net ([91.198.192.8]:36954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzsX9-0002y0-Ff for qemu-devel@nongnu.org; Tue, 21 Feb 2012 11:25:43 -0500 Received: from localhost (localhost [127.0.0.1]) by ssl.dlh.net (Postfix) with ESMTP id 1B91B14800F for ; Tue, 21 Feb 2012 17:25:42 +0100 (CET) Received: from ssl.dlh.net ([127.0.0.1]) by localhost (ssl.dlh.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KUHen7o3p+Zp for ; Tue, 21 Feb 2012 17:25:41 +0100 (CET) Received: from [172.21.12.60] (unknown [82.141.1.226]) by ssl.dlh.net (Postfix) with ESMTPSA id C4DCF147600 for ; Tue, 21 Feb 2012 17:25:41 +0100 (CET) Message-ID: <4F43C585.9000609@dlh.net> Date: Tue, 21 Feb 2012 17:25:41 +0100 From: Peter Lieven MIME-Version: 1.0 References: <1318419034-15287-1-git-send-email-kraxel@redhat.com> <4E96C212.8060500@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] usb-hid: activate usb tablet / mouse after migration. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 16.10.2011 10:54, TeLeMan wrote: > On Thu, Oct 13, 2011 at 18:48, Gerd Hoffmann wrote: >> On 10/13/11 04:09, TeLeMan wrote: >>> On Wed, Oct 12, 2011 at 19:30, Gerd Hoffmann wrote: >>>> qemu uses the ps/2 mouse by default. The usb tablet (or mouse) is >>>> activated as soon as qemu sees some guest activity on the device, >>>> i.e. polling for HID events. That used to work fine for both fresh >>>> boot and migration. >>> It does not fix usb tablet/mouse when starting vm directly from snapshot. >> What does "info mice" print before/after snapshotting? >> Which guest? WinXP IIRC? > Yes, the guest is WinXP. > > Original: > * Mouse #1: QEMU HID Tablet (absolute) > Mouse #0: QEMU PS/2 Mouse > > Start from the snapshot: > * Mouse #0: QEMU PS/2 Mouse > Mouse #1: QEMU HID Tablet (absolute) > > The active mouse device is not be saved into the snapshot. it seems that the active mouse event receiver is messed up up after loading a vm. if you issue a 'mouse_set 1' in the qemu monitor the tablet should work again. can someone who is more familiar with the loadvm code check if the devices are just added in wrong order? thanks peter