From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8GmQ-0003Gu-TM for qemu-devel@nongnu.org; Wed, 01 Jun 2016 20:46:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8GmL-0002Ni-SP for qemu-devel@nongnu.org; Wed, 01 Jun 2016 20:46:33 -0400 Date: Thu, 2 Jun 2016 10:43:56 +1000 From: David Gibson Message-ID: <20160602004356.GF15455@voom.fritz.box> 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> <78ea7462-1363-786c-d522-e6493886a78e@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yH1ZJFh+qWm+VodA" Content-Disposition: inline In-Reply-To: <78ea7462-1363-786c-d522-e6493886a78e@redhat.com> 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: Paolo Bonzini Cc: Alexey Kardashevskiy , qemu-devel@nongnu.org, qemu-ppc@nongnu.org, Alexander Graf , Alex Williamson --yH1ZJFh+qWm+VodA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 01, 2016 at 10:11:05AM +0200, Paolo Bonzini wrote: >=20 >=20 > 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? > >=20 > > Anyone? >=20 > Go ahead, include it. I'm guessing that's an invitation to merge it via my tree, since Alexey doesn't send direct pull requests. I've now done so. --=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 --yH1ZJFh+qWm+VodA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXT4FMAAoJEGw4ysog2bOSZe4P/39BiYWBtbYQ5XBI6b3O8QyN chZmK7Q3HFP3IrWQUG6SNDYv7R69VGOeyTDRgV2ilvmQzVr91TWbIg1aqk9i6vZ4 rsPaiWLts+/miwkgLB4GRyRYGnmA4YSQppt+ljeHSiqVy6TXM1XMtMiqkAXByH7o W5fDq8C1HQvb9mpBeU5wMbyRsBVqQ42SdLUzn4fcRMcJ3i2tPiXPhRkSBs/B0D7i rMsiC7rwIcABp/XuId2zcd57uo7nV2hiXisd7sWkVdycB/Ommk/lHMGmofO3SnaA 9MEnctMPxlVGgz3lEQYd40zTij2W8k5JktCS8LpwtB9UgmfNJh/ZBY52TWu02cl8 ng07KJ9wpstcB0vH7volZvl6faWKyC2mVXl8CBJ8FF7taYUMd5MPJjjt/VS3GZaj 4gz/S5uVq/o308hXBQOYR3mpZq1qHwJokx0bDt1V6JQrrlEWRKCVTJTTZJu8XjoM Syb6F6XiAVH4wPxSKO/XohS1jY8ET3mUIhaA7nn+YpfGasJ5QdIewtEI4IXP/S8Z ctAbbfm/k2293IIksEXOk50UrGSkYQQjb78kgI2xynv9+XK3q+6nkR9uN6mrfFcJ Bm+B7QMY2IlUxGiggDZZudayIFmshJ3dDd/N7ZEWoA7Gm/FgV0SfnMdanQttkLXj NSq0fRdcXuTxQbgZsEns =w0d8 -----END PGP SIGNATURE----- --yH1ZJFh+qWm+VodA--