From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b81FC-0000ZO-EV for qemu-devel@nongnu.org; Wed, 01 Jun 2016 04:11:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b81F7-0005EB-2B for qemu-devel@nongnu.org; Wed, 01 Jun 2016 04:11:13 -0400 References: <1462344751-28281-1-git-send-email-aik@ozlabs.ru> <1462344751-28281-5-git-send-email-aik@ozlabs.ru> <4c7fd5e1-da8e-7dad-ab49-c62fec903c53@ozlabs.ru> From: Paolo Bonzini Message-ID: <78ea7462-1363-786c-d522-e6493886a78e@redhat.com> Date: Wed, 1 Jun 2016 10:11:05 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH qemu v16 04/19] vmstate: Define VARRAY with VMS_ALLOC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy , qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, Alexander Graf , David Gibson , Alex Williamson On 01/06/2016 04:29, Alexey Kardashevskiy wrote: > On 27/05/16 17:54, Alexey Kardashevskiy wrote: >> On 04/05/16 16:52, Alexey Kardashevskiy wrote: >>> This allows dynamic allocation for migrating arrays. >>> >>> Already existing VMSTATE_VARRAY_UINT32 requires an array to be >>> pre-allocated, however there are cases when the size is not known in >>> advance and there is no real need to enforce it. >>> >>> This defines another variant of VMSTATE_VARRAY_UINT32 with WMS_ALLOC >>> flag which tells the receiving side to allocate memory for the array >>> before receiving the data. >>> >>> The first user of it is a dynamic DMA window which existence and size >>> are totally dynamic. >>> >>> Signed-off-by: Alexey Kardashevskiy >>> Reviewed-by: David Gibson >>> Reviewed-by: Thomas Huth >> >> >> In what tree is this going to go? pseries? Or migration? > > Anyone? Go ahead, include it. Paolo