From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9dz3-0000lp-21 for qemu-devel@nongnu.org; Mon, 19 Mar 2012 10:54:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9dyv-0006BN-Rh for qemu-devel@nongnu.org; Mon, 19 Mar 2012 10:54:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9dyv-0006B5-Jo for qemu-devel@nongnu.org; Mon, 19 Mar 2012 10:54:45 -0400 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 q2JEshhj012286 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 19 Mar 2012 10:54:44 -0400 Received: from blackpad.lan.raisama.net (ovpn-116-25.ams2.redhat.com [10.36.116.25]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q2JEsgbS029684 for ; Mon, 19 Mar 2012 10:54:43 -0400 From: Eduardo Habkost Date: Mon, 19 Mar 2012 11:54:40 -0300 Message-Id: <1332168883-9961-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] -readconfig: accept fd= option (v2) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a resubmit of a previous series I sent as a RFC, with some changes to prepare for an upcoming patch that will make additional changes to the default config-file loading code. This series needs be applied on top of the "./configure --confdir" series I sent today. Changes v1 -> v2: - Moved some code to qemu-config-arch.c, as it will eventually have arch-specific features Eduardo Habkost (3): qemu-config.h: include qemu-option.h -readconfig: use QemuOpts option format (v2) -readconfig: accept fd= option (v2) Makefile.target | 2 +- qemu-config-arch.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++ qemu-config-arch.h | 15 +++++++++ qemu-config.c | 46 ++++++++++++++++++++++----- qemu-config.h | 10 +++++- qemu-options.hx | 6 ++-- vl.c | 7 ++-- 7 files changed, 155 insertions(+), 17 deletions(-) create mode 100644 qemu-config-arch.c create mode 100644 qemu-config-arch.h -- 1.7.3.2