From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfV0c-0008Gh-M6 for qemu-devel@nongnu.org; Thu, 23 May 2013 08:52:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfV0W-0006HP-MS for qemu-devel@nongnu.org; Thu, 23 May 2013 08:52:42 -0400 Received: from e23smtp01.au.ibm.com ([202.81.31.143]:37819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfV0W-0006Gp-1g for qemu-devel@nongnu.org; Thu, 23 May 2013 08:52:36 -0400 Received: from /spool/local by e23smtp01.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 23 May 2013 22:44:31 +1000 Received: from d23relay03.au.ibm.com (d23relay03.au.ibm.com [9.190.235.21]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id E05BC2BB0050 for ; Thu, 23 May 2013 22:52:29 +1000 (EST) Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r4NCqLmh17301656 for ; Thu, 23 May 2013 22:52:22 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r4NCqTdp010796 for ; Thu, 23 May 2013 22:52:29 +1000 From: Anthony Liguori In-Reply-To: <20130523084009.743e187f@redhat.com> References: <20130522134007.GA2051@t430s.nay.redhat.com> <20130522144448.GC23852@dhcp-200-207.str.redhat.com> <87fvxfkn49.fsf@codemonkey.ws> <20130523081837.GA3082@dhcp-200-207.str.redhat.com> <87a9nlx5ic.fsf@codemonkey.ws> <20130523084009.743e187f@redhat.com> Date: Thu, 23 May 2013 07:52:15 -0500 Message-ID: <871u8xq2o0.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] RFC: Full introspection support for QMP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: Kevin Wolf , Ronen Hod , Amos Kong , Markus Armbruster , qemu-devel Luiz Capitulino writes: > On Thu, 23 May 2013 07:08:59 -0500 > Anthony Liguori wrote: > >> > then we don't need introspection at all. There's no user for it then. >> >> Introspection is not the right approach to feature discovery. The >> schema does answer the question of what features are enabled, it just >> answers the question of what the signature of the methods are. > > (s/does answer/does not answer) Yes, -ENOCAFFIENE :-/ > But there's an intersection here: a new enum value or new argument can > be a new feature too. > > If we add new commands to query features, than I'm afraid that in the > long run feature discovery will be split in query-qmp-schema and the > specific feature discovery commands. > > I'm not arguing in favor of one or another way, but we need to know > why and where we're going. The real motivation behind full introspection > is to allow commands to be extended. Right, so let's look at some examples and see how the introspection would work for feature detection vs. some other form of feature detection. Regards, Anthony Liguori