From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtwXg-0001Qr-28 for qemu-devel@nongnu.org; Fri, 20 Dec 2013 04:38:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtwXX-00064M-KN for qemu-devel@nongnu.org; Fri, 20 Dec 2013 04:38:47 -0500 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:47738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtwXX-00064G-DD for qemu-devel@nongnu.org; Fri, 20 Dec 2013 04:38:39 -0500 Received: by mail-we0-f179.google.com with SMTP id q59so2193141wes.38 for ; Fri, 20 Dec 2013 01:38:38 -0800 (PST) Date: Fri, 20 Dec 2013 10:38:26 +0100 From: Stefan Hajnoczi Message-ID: <20131220093826.GA27021@stefanha-thinkpad.redhat.com> References: <1387482443-10633-1-git-send-email-mreitz@redhat.com> <1387482443-10633-4-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1387482443-10633-4-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v6 03/22] qdict: Add qdict_array_split() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Kevin Wolf , Fam Zheng , qemu-devel@nongnu.org, Stefan Hajnoczi On Thu, Dec 19, 2013 at 08:47:04PM +0100, Max Reitz wrote: > This function splits a QDict consisting of entries prefixed by > incrementally enumerated indices into a QList of QDicts. > > Signed-off-by: Max Reitz > Reviewed-by: Kevin Wolf > --- > include/qapi/qmp/qdict.h | 1 + > qobject/qdict.c | 36 ++++++++++++++++++++++++++++++++++++ > 2 files changed, 37 insertions(+) Please add a test case to tests/check-qdict.c.