qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] quorum: Simplify quorum_open()
@ 2014-02-21 19:44 Max Reitz
  2014-02-21 19:44 ` [Qemu-devel] [PATCH 1/2] " Max Reitz
  2014-02-21 19:44 ` [Qemu-devel] [PATCH 2/2] iotests: Mixed quorum child device specifications Max Reitz
  0 siblings, 2 replies; 5+ messages in thread
From: Max Reitz @ 2014-02-21 19:44 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 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

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

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

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

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).