[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150328200631-mutt-send-email-mst@redhat.com>
Date: Sat, 28 Mar 2015 20:07:14 +0100
From: "Michael S. Tsirkin" <mst@...hat.com>
To: Gerd Hoffmann <kraxel@...hat.com>
Cc: virtio-dev@...ts.oasis-open.org,
virtualization@...ts.linux-foundation.org,
David Herrmann <dh.herrmann@...il.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Rusty Russell <rusty@...tcorp.com.au>,
open list <linux-kernel@...r.kernel.org>,
"open list:ABI/API" <linux-api@...r.kernel.org>
Subject: Re: [virtio-dev] Re: [PATCH v5] Add virtio-input driver.
On Thu, Mar 26, 2015 at 01:10:40PM +0100, Michael S. Tsirkin wrote:
> On Thu, Mar 26, 2015 at 11:49:25AM +0100, Gerd Hoffmann wrote:
> > virtio-input is basically evdev-events-over-virtio, so this driver isn't
> > much more than reading configuration from config space and forwarding
> > incoming events to the linux input layer.
> >
> > Signed-off-by: Gerd Hoffmann <kraxel@...hat.com>
>
> Still a bit worried about using input.h as host/guest
> interface (can't we use some formal standard, e.g. USB HID?),
> but I'll let Rusty decide that.
>
> Otherwise mostly looks good. One nit below.
Forgot to include:
Acked-by: Michael S. Tsirkin <mst@...hat.com>
>
> > ---
>
> Could you pls include changelog in the future?
> You are sending multiple versions per day and it's hard to keep up.
>
> > +static unsigned int features[] = {
> > + /* none */
> > +};
>
> An empty line wouldn't hurt here about variable definition.
>
> > +static struct virtio_device_id id_table[] = {
> > + { VIRTIO_ID_INPUT, VIRTIO_DEV_ANY_ID },
> > + { 0 },
> > +};
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: virtio-dev-unsubscribe@...ts.oasis-open.org
> For additional commands, e-mail: virtio-dev-help@...ts.oasis-open.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists