Received: from eggs.gnu.org ([2001:4830:134:3::10]:39290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGxTb-0004Mx-2m for qemu-devel@nongnu.org; Fri, 21 Feb 2014 16:17:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGxTU-0007j4-LA for qemu-devel@nongnu.org; Fri, 21 Feb 2014 16:17:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGxTU-0007ir-E1 for qemu-devel@nongnu.org; Fri, 21 Feb 2014 16:17:36 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s1LLHZwo015791 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 21 Feb 2014 16:17:35 -0500 Date: Fri, 21 Feb 2014 22:17:32 +0100 From: Kevin Wolf Message-ID: <20140221211732.GE3346@dhcp-200-207.str.redhat.com> References: <1393006301-22514-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1393006301-22514-1-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/3] Extract non-QDicts in qdict_array_split() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-devel@nongnu.org, Stefan Hajnoczi Am 21.02.2014 um 19:11 hat Max Reitz geschrieben: > 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. Thanks, applied to the block branch. Kevin