Received: from eggs.gnu.org ([2001:4830:134:3::10]:45277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu1sj-0007pN-27 for qemu-devel@nongnu.org; Thu, 27 Nov 2014 11:25:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xu1sX-0005Sj-Sd for qemu-devel@nongnu.org; Thu, 27 Nov 2014 11:25:22 -0500 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:53341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu1sX-0005SW-Lr for qemu-devel@nongnu.org; Thu, 27 Nov 2014 11:25:13 -0500 Received: by mail-wi0-f173.google.com with SMTP id r20so16237889wiv.6 for ; Thu, 27 Nov 2014 08:25:12 -0800 (PST) Date: Thu, 27 Nov 2014 16:25:09 +0000 From: Stefan Hajnoczi Message-ID: <20141127162509.GJ15586@stefanha-thinkpad.lan> References: <1416503198-17031-1-git-send-email-mreitz@redhat.com> <1416503198-17031-11-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Re2uCLPLNzqOLVJA" Content-Disposition: inline In-Reply-To: <1416503198-17031-11-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 10/22] qcow2: refcount_order parameter for qcow2_create2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Kevin Wolf , qemu-devel@nongnu.org, Stefan Hajnoczi --Re2uCLPLNzqOLVJA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Nov 20, 2014 at 06:06:26PM +0100, Max Reitz wrote: > @@ -2003,6 +2015,7 @@ static int qcow2_create(const char *filename, QemuOpts *opts, Error **errp) > size_t cluster_size = DEFAULT_CLUSTER_SIZE; > PreallocMode prealloc; > int version = 3; > + int refcount_width = 16, refcount_order; It would be nice to consistently use either refcount_width or refcount_bits throughout the code. --Re2uCLPLNzqOLVJA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUd1BlAAoJEJykq7OBq3PIKzUH/0IzAchri9BAOp90/Ab/2Q6O JTyduSqqEnoyFX1VuMZ2Wla+8x5vVnfdEBBghcYCX3WXrxkKQ+ZsCV+ser65xFd/ v8Vll7km1shGgKa35JCLfh5cfvO0sn0Oy7bytkNaYWLo4mNUC1NzmsMRf++S8PT3 UmK1pueLuBgGe8jDqvcfeDhtEy7Regn3qzJNLITibWzFEy7e7LLU96Ftkz6XWm50 HJrazvOWlr8Nu+JHB5jp8zu1uFhVap/QHprgabBQFZi/thG5J00sx/FqoF4bipF1 9cSY6hzmH0KATASzJz9HjNCuoknevbQ5ez6eoNxHS74Pn+dhd31tT/OwQvRMSHs= =ORIO -----END PGP SIGNATURE----- --Re2uCLPLNzqOLVJA--