Re: [PATCH 112/173] Input: xen-kbdfront - advertise eitherabsolute or relative coordinates

From: Konrad Rzeszutek Wilk
Date: Mon Apr 25 2011 - 23:09:22 EST


On Mon, Apr 25, 2011 at 10:31:58PM +0200, Olaf Hering wrote:
> On Mon, Apr 25, Willy Tarreau wrote:
>
> > 2.6.27.59-stable review patch. If anyone has any objections, please let us know.
>
> These two hunks have to be removed from the patch.
> If the guest is suspended/resumed the guest has to renegotiate with the
> new qemu-dm process and set the request-abs-pointer property again.
>

Willy,

Olaf is refering to c36b58e8a9112017c2bcc322cc98e71241814303 which is
in the upstream kernel.

> Olaf
>
> > @@ -267,7 +281,7 @@
> > enum xenbus_state backend_state)
> > {
> > struct xenkbd_info *info = dev->dev.driver_data;
> > - int ret, val;
> > + int val;
> >
> > switch (backend_state) {
> > case XenbusStateInitialising:
> > @@ -278,17 +292,6 @@
> >
> > case XenbusStateInitWait:
> > InitWait:
> > - ret = xenbus_scanf(XBT_NIL, info->xbdev->otherend,
> > - "feature-abs-pointer", "%d", &val);
> > - if (ret < 0)
> > - val = 0;
> > - if (val) {
> > - ret = xenbus_printf(XBT_NIL, info->xbdev->nodename,
> > - "request-abs-pointer", "1");
> > - if (ret)
> > - printk(KERN_WARNING
> > - "xenkbd: can't request abs-pointer");
> > - }
> > xenbus_switch_state(dev, XenbusStateConnected);
> > break;
> >
> >
> >
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/