Received: from eggs.gnu.org ([2001:4830:134:3::10]:54999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwpli-0005ML-W3 for qemu-devel@nongnu.org; Thu, 12 Nov 2015 06:10:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zwplg-0007kR-7W for qemu-devel@nongnu.org; Thu, 12 Nov 2015 06:10:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwplg-0007jl-25 for qemu-devel@nongnu.org; Thu, 12 Nov 2015 06:10:16 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id C61846B for ; Thu, 12 Nov 2015 11:10:14 +0000 (UTC) From: Markus Armbruster References: <1447279028-2114-1-git-send-email-eblake@redhat.com> <1447279028-2114-3-git-send-email-eblake@redhat.com> <87d1vfvd7d.fsf@blackfin.pond.sub.org> <1447319343.1400.39.camel@redhat.com> Date: Thu, 12 Nov 2015 12:10:12 +0100 In-Reply-To: <1447319343.1400.39.camel@redhat.com> (Gerd Hoffmann's message of "Thu, 12 Nov 2015 10:09:03 +0100") Message-ID: <87egfvqxrf.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH for-2.5 2/2] input: Promote 'input-send-event' to stable API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org Gerd Hoffmann writes: > On Do, 2015-11-12 at 09:23 +0100, Markus Armbruster wrote: >> Eric Blake writes: >> >> > We've had 'x-input-send-event' since 2.3, with no further >> > changes to the interface other than tweaks in the previous patch >> > to the spelling of the enum constants ('X' and 'WheelUp' changed >> > to 'x' and 'wheel-up'). >> > >> > What's more, changing the spelling of enum constants is not easy >> > to introspect prior to 2.5; so a client that was relying on the >> > experimental command can't easily tell which spelling is expected. >> > But 'query-commands' works in all qemu versions that supported >> > the command, so renaming the command now makes it an easy thing >> > to determine which spelling of the enum values to use. >> > >> > Thus, it's time to promote this interface to stable. >> >> The x- goes back to commit df5b2ad: >> >> input: move input-send-event into experimental namespace >> >> Ongoing discussions on how we are going to specify the console, >> so tag the command as experiental so we can refine things in >> the 2.3 development cycle. >> >> Have we settled "how we are going to specify the console"? If yes, >> commit, please. If no, I'm afraid the command should stay experimental. > > Good question. I don't think so. > > IIRC the question was whenever we'll leave it as-is (console=), > or whenever we'll do something like display=,head= instead. > > The latter would be consistent with how we are doing input routing, i.e. > grouping display and input devices to a seat for multiseat setups (see > docs/multiseat.txt for more details). > > The consoles are already present in the qom tree > as /backend/console[] nodes, and they have device + head > children. So qom users can map console= to > display=,head= and visa versa already. So from a functionality > point of view it doesn't really matter, it is largely a matter of > taste ... The thread leading to the x-: http://lists.nongnu.org/archive/html/qemu-devel/2014-11/msg03197.html I'm not sure the console numbers were visible in QOM back then. We also discussed use of qdev ID. Let's keep the x- until we've figured this out.