From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeJt5-00005o-Pt for qemu-devel@nongnu.org; Fri, 11 Mar 2016 05:01:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aeJt0-0000da-MQ for qemu-devel@nongnu.org; Fri, 11 Mar 2016 05:01:39 -0500 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:37906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeJt0-0000cB-FW for qemu-devel@nongnu.org; Fri, 11 Mar 2016 05:01:34 -0500 Received: by mail-wm0-x229.google.com with SMTP id l68so10588191wml.1 for ; Fri, 11 Mar 2016 02:01:34 -0800 (PST) Sender: Paolo Bonzini References: <1457681901-30916-1-git-send-email-kraxel@redhat.com> From: Paolo Bonzini Message-ID: <56E29778.9080906@redhat.com> Date: Fri, 11 Mar 2016 11:01:28 +0100 MIME-Version: 1.0 In-Reply-To: <1457681901-30916-1-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] input-linux: switch over to -object List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , qemu-devel@nongnu.org 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/event$nr > > Bonus is that you can hot-add and hot-remove them via monitor now. > > Suggested-by: Paolo Bonzini > Signed-off-by: Gerd Hoffmann Great, thank you very much! Reviewed-by: Paolo Bonzini