From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuLVb-0000bx-Nm for qemu-devel@nongnu.org; Fri, 28 Nov 2014 08:22:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuLVV-00033o-HF for qemu-devel@nongnu.org; Fri, 28 Nov 2014 08:22:51 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuLVV-00032H-2k for qemu-devel@nongnu.org; Fri, 28 Nov 2014 08:22:45 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sASDMiOs023579 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 28 Nov 2014 08:22:44 -0500 Date: Fri, 28 Nov 2014 13:22:42 +0000 From: Stefan Hajnoczi Message-ID: <20141128132242.GR13631@stefanha-thinkpad.redhat.com> References: <1416503198-17031-1-git-send-email-mreitz@redhat.com> <1416503198-17031-18-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="foM9DbudB2CcldhH" Content-Disposition: inline In-Reply-To: <1416503198-17031-18-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 17/22] qcow2: Split upgrade/downgrade paths for amend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Kevin Wolf , qemu-devel@nongnu.org --foM9DbudB2CcldhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 20, 2014 at 06:06:33PM +0100, Max Reitz wrote: > If the image version should be upgraded, that is the first we should do; > if it should be downgraded, that is the last we should do. So split the > version change block into an upgrade part at the start and a downgrade > part at the end. >=20 > Signed-off-by: Max Reitz > Reviewed-by: Eric Blake > --- > block/qcow2.c | 31 ++++++++++++++++--------------- > 1 file changed, 16 insertions(+), 15 deletions(-) Reviewed-by: Stefan Hajnoczi --foM9DbudB2CcldhH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUeHciAAoJEJykq7OBq3PIxCAIAMPFNonPFu0u2axfodot4nQq YYVZRqbMIB54xzJnM9vIy8JqwrlJmEzsIXtaBoDdmzXWEtchYyoWe7RQpC98039E qZOFvq9COdM3ohFEdKqNJeU2kiGqW7CNIS9XR/F2u0atu8JOzVyht10r3+KMiIXa eerWBsTar10LdcdBv7e8gjGNClFW8AYAFLAujF8QWHsFgJQldB1rXr3v0+AxcQ9u ebE4Bu7ZZ+Mktv4+ORNTwUQTha1IOSOGU7Qm8c/XPiodw0lZNuZEPycp29VmafJs XJVzrqDamR2RL3mePlNbY8M3D/UhWiDalpCGEs69SCgcfLHIZm0Erw0zDBGy9Nw= =PIEp -----END PGP SIGNATURE----- --foM9DbudB2CcldhH--