From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLOBK-0001Yw-OU for qemu-devel@nongnu.org; Wed, 05 Mar 2014 21:37:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLOBE-0004YU-SE for qemu-devel@nongnu.org; Wed, 05 Mar 2014 21:37:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:14528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLOBE-0004YL-IJ for qemu-devel@nongnu.org; Wed, 05 Mar 2014 21:37:04 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s262b3aF026267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 5 Mar 2014 21:37:03 -0500 From: Amos Kong Date: Thu, 6 Mar 2014 10:36:54 +0800 Message-Id: <1394073416-12578-1-git-send-email-akong@redhat.com> Subject: [Qemu-devel] [PATCH v4 0/2] fix query-command-line-options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com, libvirt-list@redhat.com, jyang@redhat.com, pbonzini@redhat.com, lcapitulino@redhat.com 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 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) Amos Kong (2): qmp: rename query_option_descs() to get_param_infolist() query-command-line-options: query all the options in qemu-options.hx qapi-schema.json | 8 ++++++-- qemu-options.h | 10 ++++++++++ util/qemu-config.c | 50 +++++++++++++++++++++++++++++++++++++++++--------- vl.c | 15 --------------- 4 files changed, 57 insertions(+), 26 deletions(-) -- 1.8.5.3