From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7zki-0008C2-CE for qemu-devel@nongnu.org; Mon, 27 Jan 2014 22:54:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7zkd-0005xv-Gh for qemu-devel@nongnu.org; Mon, 27 Jan 2014 22:54:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7zkd-0005xq-8y for qemu-devel@nongnu.org; Mon, 27 Jan 2014 22:54:15 -0500 From: Amos Kong Date: Tue, 28 Jan 2014 11:53:45 +0800 Message-Id: <1390881230-14033-1-git-send-email-akong@redhat.com> Subject: [Qemu-devel] [PATCH 0/5] fix query-command-line-options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: jyang@redhat.com, laine@redhat.com, libvir-list@redhat.com, armbru@redhat.com, rjones@redhat.com, anthony@codemonkey.ws, pbonzini@redhat.com, lcapitulino@redhat.com This patchset fixed some issues of query-command-line-options: * some new options haven't arguments can't be queried. (eg: -enable-fips) * some legcy options have arguments can't be queried. (eg: -vnc display) More discussion: http://marc.info/?l=qemu-devel&m=139081830416684&w=2 Amos Kong (5): qmp: rename query_option_descs() to get_param_infolist() introduce two marcos to dump the options info query-command-line-options: query all the options in qemu-options.hx introduce QEMU_OPTIONS_GENERATE_HELPMSG query-command-line-options: return help message for legacy options qapi-schema.json | 5 ++++- qemu-options-wrapper.h | 27 +++++++++++++++++++++++++++ util/qemu-config.c | 50 +++++++++++++++++++++++++++++++++++++++++--------- 3 files changed, 72 insertions(+), 10 deletions(-) -- 1.8.4.2