From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiGWc-0000XS-AI for qemu-devel@nongnu.org; Wed, 15 Apr 2015 02:10:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiGWb-00010g-2N for qemu-devel@nongnu.org; Wed, 15 Apr 2015 02:10:14 -0400 Date: Wed, 15 Apr 2015 13:47:39 +1000 From: David Gibson Message-ID: <20150415034739.GB25040@voom.redhat.com> References: <1428679484-15451-1-git-send-email-aik@ozlabs.ru> <1428679484-15451-3-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/WwmFnJnmDyWGHa4" Content-Disposition: inline In-Reply-To: <1428679484-15451-3-git-send-email-aik@ozlabs.ru> Subject: Re: [Qemu-devel] [PATCH qemu v6 02/15] vmstate: Define VARRAY with VMS_ALLOC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Alexander Graf , Michael Roth , qemu-devel@nongnu.org, Alex Williamson , qemu-ppc@nongnu.org, Gavin Shan --/WwmFnJnmDyWGHa4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 11, 2015 at 01:24:31AM +1000, Alexey Kardashevskiy wrote: > This allows dynamic allocation for migrating arrays. >=20 > 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. >=20 > 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. >=20 > The first user of it is a dynamic DMA window which existence and size > are totally dynamic. >=20 > Signed-off-by: Alexey Kardashevskiy Reviewed-by: David Gibson --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --/WwmFnJnmDyWGHa4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVLd9bAAoJEGw4ysog2bOSjdsP/3utwaEH/TOgGt38ZuvlQD8D VV5KrUVIA2KFbzxc22H+ib4k848Owdn/k3msHzPfEUnng2TtOhX9TG8dou66ChDA etW01DM3mb5YuYeKJqMOsiiRgxtGXgrAvzukBPuPdQiWwlAIpIR1dgB0AN6zniBg FmaHY2gmw9Wem+/GgzTjo+8i9Z3K4ANYKE4k4dC2Gl3D4HQhehD+FteYVoF4xl0b zYUFNF+2n14GWLmGvJxOmBC+iPkIpxMOoVTNgTkMB9ckPdWix4wTMLcU75A7pSKj ZpTKGA5DdymE1sw1PTDYPhf+xQ3mNXMhHXWJeFH6999syfXf+3tl5FtMYg/E6R5j 9K6Ibx8I/lRRLi5FVhJo0NYGGic456tRg5DjIiobAPSA28GG55Jh73xpfrpgRPVn Snhyo/IinirjXvy0ChMrZqBqj2cahjo5la2VdALr9LaIK1dNQk5r+1naY43uesfS MwaeoDA5NZZVEiwiYJS1UnN2wn3cvPEBKsQ+tPLSYEC2uOa5T67GawV/dxQ+bBdk 9tGe9oka8W+0swGTQ8rJvBsU6GGTcx1GN7yuiIoo9mINfL2WK7p8NUjM5/RbWv+R hmVLni0URYAK7pBLqvcpERARrE81Pn6fx/DYsl9oxe/HbAzmiU41F6e37OkD0rQ0 CD+R31r8yagnjMYMd1KY =qgFh -----END PGP SIGNATURE----- --/WwmFnJnmDyWGHa4--