qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/3] Extract non-QDicts in qdict_array_split()


From: Max Reitz
Subject: [Qemu-devel] [PATCH 0/3] Extract non-QDicts in qdict_array_split()
Date: Fri, 21 Feb 2014 19:11:38 +0100

Currently, qdict_array_split() splits a QDict like
  { "0.a": 42, "1": 23, "2.b": 84 }
into the QList
  [ { "a": 42 } ]
with the QDict still being
  { "1": 23, "2.b": 84 }

However, it makes more sense to create the QList
  [ { "a": 42 }, 23, { "b": 84 } ]
and having emptied the QDict.

This is implemented by this series.


Max Reitz (3):
  qemu-config: Sections must consist of keys
  qdict: Extract non-QDicts in qdict_array_split()
  check-qdict: Adjust test for qdict_array_split()

 qobject/qdict.c     | 60 ++++++++++++++++++++++++++++++++++++++++-------------
 tests/check-qdict.c | 22 ++++++++++++++------
 util/qemu-config.c  |  6 ++++++
 3 files changed, 68 insertions(+), 20 deletions(-)

-- 
1.9.0




reply via email to

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