Re: [PATCH 112/173] Input: xen-kbdfront - advertise either absoluteor relative coordinates

From: Olaf Hering
Date: Mon Apr 25 2011 - 16:32:09 EST


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.

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/