From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adv4P-0001Q9-GU for qemu-devel@nongnu.org; Thu, 10 Mar 2016 02:31:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adv4L-0002I6-QT for qemu-devel@nongnu.org; Thu, 10 Mar 2016 02:31:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adv4L-0002Hu-L0 for qemu-devel@nongnu.org; Thu, 10 Mar 2016 02:31:37 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 4FECE78241 for ; Thu, 10 Mar 2016 07:31:37 +0000 (UTC) Message-ID: <1457595095.6405.1.camel@redhat.com> From: Gerd Hoffmann Date: Thu, 10 Mar 2016 08:31:35 +0100 In-Reply-To: <56E09456.4020404@redhat.com> References: <1457087116-4379-1-git-send-email-kraxel@redhat.com> <56E09456.4020404@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 0/3] input: linux evdev support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org Hi, > 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=3D/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? thanks, Gerd