[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
- [Qemu-devel] [PATCH 0/3] Extract non-QDicts in qdict_array_split(),
Max Reitz <=
- [Qemu-devel] [PATCH 1/3] qemu-config: Sections must consist of keys, Max Reitz, 2014/02/21
- [Qemu-devel] [PATCH 2/3] qdict: Extract non-QDicts in qdict_array_split(), Max Reitz, 2014/02/21
- [Qemu-devel] [PATCH 3/3] check-qdict: Adjust test for qdict_array_split(), Max Reitz, 2014/02/21
- Re: [Qemu-devel] [PATCH 0/3] Extract non-QDicts in qdict_array_split(), Kevin Wolf, 2014/02/21
- Re: [Qemu-devel] [PATCH 0/3] Extract non-QDicts in qdict_array_split(), Eric Blake, 2014/02/21