[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] quorum: Simplify quorum_open()
From: |
Max Reitz |
Subject: |
[Qemu-devel] [PATCH 0/2] quorum: Simplify quorum_open() |
Date: |
Fri, 21 Feb 2014 20:44:06 +0100 |
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ît's Quorum series and on my "Extract
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(-)
--
1.9.0
- [Qemu-devel] [PATCH 0/2] quorum: Simplify quorum_open(),
Max Reitz <=