From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRphc-0003ls-Qn for qemu-devel@nongnu.org; Fri, 05 Feb 2016 18:22:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRphb-0005Tp-PJ for qemu-devel@nongnu.org; Fri, 05 Feb 2016 18:22:12 -0500 References: <1453311539-1193-1-git-send-email-berrange@redhat.com> <1453311539-1193-12-git-send-email-berrange@redhat.com> From: Eric Blake Message-ID: <56B52E9D.3040103@redhat.com> Date: Fri, 5 Feb 2016 16:22:05 -0700 MIME-Version: 1.0 In-Reply-To: <1453311539-1193-12-git-send-email-berrange@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nxXcVp7ValhUe2uCXTQdaMhGP3H04ic8v" Subject: Re: [Qemu-devel] [PATCH v2 11/17] qcow2: make qcow2_encrypt_sectors encrypt in place List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org Cc: Kevin Wolf , Fam Zheng , qemu-block@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --nxXcVp7ValhUe2uCXTQdaMhGP3H04ic8v Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/20/2016 10:38 AM, Daniel P. Berrange wrote: > Instead of requiring separate input/output buffers for > encrypting data, change qcow2_encrypt_sectors() to assume > use of a single buffer, encrypting in place. The current > callers all used the same buffer for input/output already. >=20 > Signed-off-by: Daniel P. Berrange > --- > block/qcow2-cluster.c | 17 +++++------------ > block/qcow2.c | 5 ++--- > block/qcow2.h | 3 +-- > 3 files changed, 8 insertions(+), 17 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --nxXcVp7ValhUe2uCXTQdaMhGP3H04ic8v Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWtS6dAAoJEKeha0olJ0NqMpkIAI0L6uXIPlk88QnMyAN/N5Cy c6hJPNEvRrEqAI2tjn/2a3NdBE89iF6Em4gGvuikICYP1Cq/xNHolFa8QfyPwRfK ZvLv//Ip79GMRbNpr8TdwfKeHdrA9fM3KPoCjh0iifRrE1qcdxaPk8+tl5LkfkZg 3OwRuavgLG08lgYVrs+ISUhsNYNKODxTkhLSV8ZmvsOJD3rbKel8mGyMNKPOvAAK Q5UyKZFjd3OSuLK0kRotglLLFpWz7SI4r4ukcMPMs5JwvW0WAll+KiCm2O2HvXMT Lt5e/nokrWMosih3nzZBU0LtH0EcZSuw2eGz3ccrj4Mq0PD203oUch2PHCYOGgE= =BawH -----END PGP SIGNATURE----- --nxXcVp7ValhUe2uCXTQdaMhGP3H04ic8v--