qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/2] quorum: Simplify quorum_open()


From: Max Reitz
Subject: [Qemu-devel] [PATCH v2 0/2] quorum: Simplify quorum_open()
Date: Fri, 21 Feb 2014 22:30:36 +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 v19 of Benoît's Quorum series and on my "Extract
non-QDicts in qdict_array_split()" series.

v2:
 - Patch 1: Adapted comment about how num_children is determined
   [Benoît]
 - Patch 2: Fixing the monitor output of quorum (v19) requires fixing of
   the test output as well; however, filtering the sector-num is no
   longer required


Max Reitz (2):
  quorum: Simplify quorum_open()
  iotests: Mixed quorum child device specifications

 block/quorum.c             | 66 +++++++++++++++++++++++++++-------------------
 tests/qemu-iotests/081     | 51 +++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/081.out | 15 +++++++++++
 3 files changed, 105 insertions(+), 27 deletions(-)

-- 
1.9.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]