From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKUHe-0003Bi-Do for qemu-devel@nongnu.org; Tue, 05 Jul 2016 13:37:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKUHd-0007Wi-CL for qemu-devel@nongnu.org; Tue, 05 Jul 2016 13:37:18 -0400 References: <20160615153630.2116-1-mreitz@redhat.com> From: Max Reitz Message-ID: <7bc2bb03-7244-ed8a-91fd-c94b1e3ebe0f@redhat.com> Date: Tue, 5 Jul 2016 19:37:12 +0200 MIME-Version: 1.0 In-Reply-To: <20160615153630.2116-1-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4Ua9TBxts61iBuwaFpFXiXhxnuU9gh58F" Subject: Re: [Qemu-devel] [PATCH 0/2] qcow2: Avoid making the L1 table too big List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, Kevin Wolf This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4Ua9TBxts61iBuwaFpFXiXhxnuU9gh58F From: Max Reitz To: qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, Kevin Wolf Message-ID: <7bc2bb03-7244-ed8a-91fd-c94b1e3ebe0f@redhat.com> Subject: Re: [PATCH 0/2] qcow2: Avoid making the L1 table too big References: <20160615153630.2116-1-mreitz@redhat.com> In-Reply-To: <20160615153630.2116-1-mreitz@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 15.06.2016 17:36, Max Reitz wrote: > See https://bugs.launchpad.net/qemu/+bug/1592590 for a bug report. >=20 > Reproducer: >=20 > $ ./qemu-img create -f qcow2 test.qcow2 1M > Formatting 'test.qcow2', fmt=3Dqcow2 size=3D1048576 encryption=3Doff > cluster_size=3D65536 lazy_refcounts=3Doff refcount_bits=3D16 > $ ./qemu-img resize test.qcow2 100000T > Image resized. > $ ./qemu-img info test.qcow2 > qemu-img: Could not open 'test.qcow2': Active L1 table too large >=20 > After this series: >=20 > $ ./qemu-img resize test.qcow2 100000T > qemu-img: Error resizing image: File too large >=20 >=20 > Max Reitz (2): > qemu-img: Use strerror() for generic resize error > qcow2: Avoid making the L1 table too big >=20 > block/qcow2-cluster.c | 2 +- > qemu-img.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to my block branch. Max --4Ua9TBxts61iBuwaFpFXiXhxnuU9gh58F 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 iQEvBAEBCAAZBQJXe/BIEhxtcmVpdHpAcmVkaGF0LmNvbQAKCRA7sUIC6Disrfsl B/4uBKvaeMsiJOQRiinF2GeEPatq3pEGEBp2j1U5H/zELt+UhJmCeTSk104iLOcB uYMf6gfmfzdM5AUedVygrIxfLr6POthLhq0NOVxVAeNL4nxvMoLr3ztvRzbdBn8n IQ1TYYFEQn3tzJ5I1WzAvmGEfDZblfSXlcRk/u+BUEZx4mVu1aP+hwlFTnvoN8RN NdMhyjEUIBXk5nujGc5/NjkaNmEwbeCrG/OvNzUvThLwYGzGIxjTHhRsubTAnOtS wk7Nojy3kuLP23dV63XtcokOgtOFiUQFHh9nLFb70MjFv/xthlHQ+5hFaPQ6iQFJ LMaGMHYQmEtnbTWJqHRZpnhA =D4Jq -----END PGP SIGNATURE----- --4Ua9TBxts61iBuwaFpFXiXhxnuU9gh58F--