Re: [Qemu-devel] [PATCH] input-linux: switch over to -object

2016-03-11 Thread Kashyap Chamarthy
On Fri, Mar 11, 2016 at 11:01:28AM +0100, Paolo Bonzini wrote: > > > On 11/03/2016 08:38, Gerd Hoffmann wrote: > > This patches makes input-linux use -object instead a new command line Nit: s/instead a/instead of a/ [If you want to fix up when you apply.] > > switch. So, instead of the switch

Re: [Qemu-devel] [PATCH] input-linux: switch over to -object

2016-03-11 Thread Paolo Bonzini
On 11/03/2016 08:38, Gerd Hoffmann wrote: > This patches makes input-linux use -object instead a new command line > switch. So, instead of the switch ... > > -input-linux /dev/input/event$nr > > ... you must create an object this way: > > -object input-linux,id=$name,evdev=/dev/input/

[Qemu-devel] [PATCH] input-linux: switch over to -object

2016-03-10 Thread Gerd Hoffmann
This patches makes input-linux use -object instead a new command line switch. So, instead of the switch ... -input-linux /dev/input/event$nr ... you must create an object this way: -object input-linux,id=$name,evdev=/dev/input/event$nr Bonus is that you can hot-add and hot-remove them