From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEK0i-0007qM-1p for qemu-devel@nongnu.org; Tue, 27 Aug 2013 10:12:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEK0a-0004Pg-QN for qemu-devel@nongnu.org; Tue, 27 Aug 2013 10:12:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEK0a-0004Pb-Ji for qemu-devel@nongnu.org; Tue, 27 Aug 2013 10:12:36 -0400 Date: Tue, 27 Aug 2013 16:12:44 +0200 From: Kevin Wolf Message-ID: <20130827141243.GM648@dhcp-200-207.str.redhat.com> References: <1376368326-7433-1-git-send-email-wdongxu@linux.vnet.ibm.com> <1376368326-7433-25-git-send-email-wdongxu@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1376368326-7433-25-git-send-email-wdongxu@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH V18 24/25] qapi: query-command-line-options outputs def_value_str List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dong Xu Wang Cc: wdongxu@cn.ibm.com, qemu-devel@nongnu.org, stefanha@redhat.com Am 13.08.2013 um 06:32 hat Dong Xu Wang geschrieben: > QMP command query-command-line-options shows details information of > parameters, since added def_value_str, also output it in the QMP > command. > > v16->v17: > 1) add "Since 1.6" tag. > 2) rename def_str_value to "default". > > Signed-off-by: Dong Xu Wang > --- > qapi-schema.json | 8 ++++++-- > qmp-commands.hx | 2 ++ > util/qemu-config.c | 4 ++++ > 3 files changed, 12 insertions(+), 2 deletions(-) > > diff --git a/qapi-schema.json b/qapi-schema.json > index a51f7d2..aa18d84 100644 > --- a/qapi-schema.json > +++ b/qapi-schema.json > @@ -3630,12 +3630,16 @@ > # > # @help: #optional human readable text string, not suitable for parsing. > # > -# Since 1.5 > +# @default: #optional string representation of the default used > +# if the option is omitted. > +# > +# Since 1.6 The "Since 1.6" belongs to the @default field only. The command as a whole is still "Since 1.5". Kevin