From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGvyf-0008LL-TU for qemu-devel@nongnu.org; Fri, 21 Feb 2014 14:41:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGvyZ-0002O8-QM for qemu-devel@nongnu.org; Fri, 21 Feb 2014 14:41:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:62017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGvyZ-0002N6-Ia for qemu-devel@nongnu.org; Fri, 21 Feb 2014 14:41:35 -0500 From: Max Reitz Date: Fri, 21 Feb 2014 20:44:06 +0100 Message-Id: <1393011848-18742-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 0/2] quorum: Simplify quorum_open() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , =?UTF-8?q?Beno=C3=AEt=20Canet?= , Stefan Hajnoczi , Max Reitz This series employs the new ability of qdict_array_split() to not only split a QDict into a QList of QDicts (and a remainder QDict), but into a QList of QObjects of any kind, to simplify quorum_open(). This (in my opinion) enhances readability, robustness against malformatted options and allows specifying both reference strings and full option dicts at the same time. This series depends on v18 of Beno=C3=AEt's Quorum series and on my "Extr= act non-QDicts in qdict_array_split()" series. Max Reitz (2): quorum: Simplify quorum_open() iotests: Mixed quorum child device specifications block/quorum.c | 62 ++++++++++++++++++++++++++++------------= ------ tests/qemu-iotests/081 | 52 ++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/081.out | 15 +++++++++++ 3 files changed, 105 insertions(+), 24 deletions(-) --=20 1.9.0