qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] quorum: Simplify quorum_open()
@ 2014-02-21 21:30 Max Reitz
  2014-02-21 21:30 ` [Qemu-devel] [PATCH v2 1/2] " Max Reitz
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Max Reitz @ 2014-02-21 21:30 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Benoît Canet, 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 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-21 22:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-21 21:30 [Qemu-devel] [PATCH v2 0/2] quorum: Simplify quorum_open() Max Reitz
2014-02-21 21:30 ` [Qemu-devel] [PATCH v2 1/2] " Max Reitz
2014-02-21 21:30 ` [Qemu-devel] [PATCH v2 2/2] iotests: Mixed quorum child device specifications Max Reitz
2014-02-21 21:38   ` Benoît Canet
2014-02-21 21:40 ` [Qemu-devel] [PATCH v2 0/2] quorum: Simplify quorum_open() Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).