WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] [PV Xen] Mouse stuck after save/restore of guest

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [PV Xen] Mouse stuck after save/restore of guest.
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Thu, 14 Apr 2011 19:26:50 +0200
Cc: Igor Mammedov <imammedo@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 14 Apr 2011 10:27:38 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1302802018; l=900; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=shfQBKVDCH9WxOCcYykeELlz7LU=; b=Hf10NUf0yhVFQDT2SBM38JRtnn+B+kD75XHMQvk3BNI7RpQj61RSA+6Bhiv4UBmOQFF bBvcc++55eRXMn99lm9GaAnnUFB4Ng76WCOtp8tfScaXM+h22UPCQX6coVERW0ortzkyw vgfEMEyy7oCQiH7MqW3t7B0Izh4IZoEFFq0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110414155915.GA23629@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1302795907-321-1-git-send-email-imammedo@xxxxxxxxxx> <20110414155915.GA23629@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Apr 14, Konrad Rzeszutek Wilk wrote:

> On Thu, Apr 14, 2011 at 05:45:07PM +0200, Igor Mammedov wrote:
> >     Mouse stuck after restore of PV guest but buttons are
> >     in working condition.
> >     If driver has been configured for ABS coordinates at
> >     start it will get XENKBD_TYPE_POS events and then
> >     suddenly after restore it'll start getting
> >     XENKBD_TYPE_MOTION events, that will be dropped later
> >     and they won't get into user-space.
> > 
> >     Regression was introduced by hunk 5 and 6 of 5ea5254
> >     in upstream.
> > 
> >     Driver on restore should ask xen for request-abs-pointer
> >     again if it's available. So restore parts that did it 
> >     before 5ea5254.
> 
> Olaf?

This change is correct. Thanks for spotting, Igor.
I did not test suspend/resume, migration etc. Sorry for that. During
resume the guest has to renegotiate with the new qemu-dm process.

Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel