lkml.org 
[lkml]   [2011]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 112/173] Input: xen-kbdfront - advertise either absolute or relative coordinates
    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@vger.kernel.org
    > More majordomo info at http://vger.kernel.org/majordomo-info.html
    > Please read the FAQ at http://www.tux.org/lkml/


    \
     
     \ /
      Last update: 2011-04-26 05:11    [W:0.023 / U:32.884 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site