From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvXZ-0004Ju-LE for qemu-devel@nongnu.org; Fri, 05 Sep 2014 11:35:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvXS-0001FL-Rj for qemu-devel@nongnu.org; Fri, 05 Sep 2014 11:35:09 -0400 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:53800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvXQ-00019e-AA for qemu-devel@nongnu.org; Fri, 05 Sep 2014 11:35:02 -0400 Received: by mail-wi0-f181.google.com with SMTP id e4so3195335wiv.14 for ; Fri, 05 Sep 2014 08:34:58 -0700 (PDT) Date: Fri, 5 Sep 2014 16:34:56 +0100 From: Stefan Hajnoczi Message-ID: <20140905153456.GI27649@stefanha-thinkpad.redhat.com> References: <1409568798-2292-1-git-send-email-junmuzi@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aFi3jz1oiPowsTUB" Content-Disposition: inline In-Reply-To: <1409568798-2292-1-git-send-email-junmuzi@gmail.com> Subject: Re: [Qemu-devel] [PATCH v2] qcow2: add update refcount table realization for update_refcount List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jun Li Cc: kwolf@redhat.com, juli@redhat.com, famz@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com --aFi3jz1oiPowsTUB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 01, 2014 at 06:52:48PM +0800, Jun Li wrote: > When every item of refcount block is NULL, free refcount block and reset = the > corresponding item of refcount table with NULL. >=20 > Signed-off-by: Jun Li > --- By the way, test cases are definitely needed for this change. See tests/qemu-iotests/qcow2.py and the test cases in tests/qemu-iotests. Stefan --aFi3jz1oiPowsTUB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUCdggAAoJEJykq7OBq3PIPW0IAJ2yMa3DJvlmdNaXtTVC2aSG krTXLmmTvbCiYv/fUb7m7NuYAl9KC7bzWJIiDrCKTNYZY+sCJEjmYSGlATsNoaLU HsZEmEsvZTKWxaw+FCxv8gkWuQZ17GQOO+1kNbJt9SRY0ohFDX9FqNxrLvKjf8Vs iAyOt3EKzteodBOCL5F5DVsUdTPMBga6VtgjgK4A6y0BNH0SBpCTGEv2b4Okicr+ xjIzLQvqkSIVDB4oRW2xPTiXfg1WBymKwFj8v40Ns3SC87zUfuh+kwjDKEYv8Mkp cHAC+KQ1iSa9szjxUYA88r9M5l3Zz15F+3HS1+zpfyIXXxzKvLP/gQX2L1v/udk= =AMlJ -----END PGP SIGNATURE----- --aFi3jz1oiPowsTUB--