From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WT4Fh-0007SB-6Y for qemu-devel@nongnu.org; Thu, 27 Mar 2014 02:57:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WT4Fa-00036o-Uv for qemu-devel@nongnu.org; Thu, 27 Mar 2014 02:57:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WT4Fa-000367-NC for qemu-devel@nongnu.org; Thu, 27 Mar 2014 02:57:18 -0400 From: Amos Kong Date: Thu, 27 Mar 2014 14:57:00 +0800 Message-Id: <1395903423-19975-1-git-send-email-akong@redhat.com> Subject: [Qemu-devel] [PATCH v6 0/3] fix query-command-line-options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: libvirt-list@redhat.com, armbru@redhat.com, anthony@codemonkey.ws, pbonzini@redhat.com, afaerber@suse.de This patchset fixed some issues of query-command-line-options: * some new options that haven't argument can't be queried. (eg: -enable-fips) * some legacy options that have argument can't be queried. (eg: -vnc display) More discussion: http://marc.info/?l=qemu-devel&m=139081830416684&w=2 https://www.redhat.com/archives/libvir-list/2014-March/msg00318.html V2: remove duplicate option tables, update schema (eric) V3: fix typo in commitlog and export qemu_options talbe (eric) V4: avoid the duplicate static table (eric) V5: rename new field, other fix (markus) V6: add implied-name (eric, markus) Thanks for your review! Amos Kong (3): qmp: rename query_option_descs() to get_param_info() query-command-line-options: expose implicit parameter name query-command-line-options: query all the options in qemu-options.hx qapi-schema.json | 16 +++++++++++++--- qemu-options.h | 12 ++++++++++++ util/qemu-config.c | 52 ++++++++++++++++++++++++++++++++++++++-------------- vl.c | 19 ++----------------- 4 files changed, 65 insertions(+), 34 deletions(-) -- 1.8.5.3