All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/3] input: linux evdev support
Date: Thu, 10 Mar 2016 10:50:38 +0100	[thread overview]
Message-ID: <56E1436E.3010809@redhat.com> (raw)
In-Reply-To: <1457595095.6405.1.camel@redhat.com>



On 10/03/2016 08:31, Gerd Hoffmann wrote:
> > However, instead of adding a new -input-linux option, could you make it
> > a QOM object which implements UserCreatable?  Then you can add it with
> > something like "-object input-linux,path=/dev/input/input10" (perhaps
> > "input-evdev" would be more specific).  This has three advantages:
> It's merged meanwhile, but when doing it before 2.6 we can still change
> it I think.  Do you have a pointer to some sample code doing this and/or
> docs for me?

backends/hostmem.c is probably as close as it can get.

Paolo

      reply	other threads:[~2016-03-10  9:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-04 10:25 [Qemu-devel] [PATCH 0/3] input: linux evdev support Gerd Hoffmann
2016-03-04 10:25 ` [Qemu-devel] [PATCH 1/3] " Gerd Hoffmann
2016-03-04 10:25 ` [Qemu-devel] [PATCH 2/3] input-linux: add option to toggle grab on all devices Gerd Hoffmann
2016-03-04 10:25 ` [Qemu-devel] [PATCH 3/3] input-linux: add switch to enable auto-repeat events Gerd Hoffmann
2016-03-09 21:23 ` [Qemu-devel] [PATCH 0/3] input: linux evdev support Paolo Bonzini
2016-03-10  7:31   ` Gerd Hoffmann
2016-03-10  9:50     ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56E1436E.3010809@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.