qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/3] input: linux evdev support


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 0/3] input: linux evdev support
Date: Thu, 10 Mar 2016 10:50:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0


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 via email to

[Prev in Thread] Current Thread [Next in Thread]