From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBYEE-0006iC-70 for qemu-devel@nongnu.org; Fri, 01 Mar 2013 17:14:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBYEC-0004KR-QR for qemu-devel@nongnu.org; Fri, 01 Mar 2013 17:14:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:5302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBYEC-0004KL-HT for qemu-devel@nongnu.org; Fri, 01 Mar 2013 17:14:56 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r21MEtbl021749 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 1 Mar 2013 17:14:56 -0500 Message-ID: <51312857.2020801@redhat.com> Date: Fri, 01 Mar 2013 15:14:47 -0700 From: Eric Blake MIME-Version: 1.0 References: <1362168821-25668-1-git-send-email-kwolf@redhat.com> <1362168821-25668-6-git-send-email-kwolf@redhat.com> In-Reply-To: <1362168821-25668-6-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2TEARTGSTERXJFCPNCLGK" Subject: Re: [Qemu-devel] [PATCH 5/7] qemu-option: Add qemu_opts_absorb_qdict() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org, stefanha@redhat.com, armbru@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2TEARTGSTERXJFCPNCLGK Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/01/2013 01:13 PM, Kevin Wolf wrote: > This adds a function that adds all entries of a QDict to a QemuOpts if > the keys are known, and leaves only the rest in the QDict. >=20 > This way a single QDict of -drive options can be processed in multiple > places (generic block layer, block driver, backing file block driver, > etc.), where each part picks the options it knows. If at the end of the= > process the QDict isn't empty, the user specified an invalid option. >=20 > Signed-off-by: Kevin Wolf > --- > include/qemu/option.h | 1 + > util/qemu-option.c | 34 ++++++++++++++++++++++++++++++++++ > 2 files changed, 35 insertions(+) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2TEARTGSTERXJFCPNCLGK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRMShYAAoJEKeha0olJ0NqoOsH/jfNaqqpP0eQoPhTVDKH0SGL d90pBKFc4EmSuOj4WGuQGvJkOqgShWdXOwi2luDOcZNvFMomIh3sesDy60Sfi8uC Qrhk2waD504OBAgZsB1sD0O1T2dn2R6yDRvGxm4PBIIxJDIpGhhvw5IWQoRgDiHn DBBraRigoCYfgFZCks7zv30kuNU4gR6pBHvjItaM3sPsks4XjtEeI9w4GyoNpGEs 8e5xhj6QZxQ1Hawurt/o7/rW6ZSyG7r21WRqry0Fsx/f55I2113V/Q8fjloGq0Bl yNWgDzfSDFsrtA1OPzf0XawOnfV3JCpjr6xALZ6qK8rrDoDGSCA9BHKVTgNVepg= =51o1 -----END PGP SIGNATURE----- ------enig2TEARTGSTERXJFCPNCLGK--