From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xhfay-0003W7-J5 for qemu-devel@nongnu.org; Fri, 24 Oct 2014 10:12:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xhfat-00043B-MD for qemu-devel@nongnu.org; Fri, 24 Oct 2014 10:12:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xhfat-000437-Dj for qemu-devel@nongnu.org; Fri, 24 Oct 2014 10:11:55 -0400 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 s9OEBs67031019 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 24 Oct 2014 10:11:54 -0400 Message-ID: <544A5E2A.90102@redhat.com> Date: Fri, 24 Oct 2014 08:11:54 -0600 From: Eric Blake MIME-Version: 1.0 References: <1414148280-17949-1-git-send-email-mreitz@redhat.com> <1414148280-17949-4-git-send-email-mreitz@redhat.com> In-Reply-To: <1414148280-17949-4-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Qh548QpLvH9daRpTJGO8BeEHSFPMLhSql" Subject: Re: [Qemu-devel] [PATCH v4 3/3] iotests: Add test for external image truncation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Qh548QpLvH9daRpTJGO8BeEHSFPMLhSql Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/24/2014 04:58 AM, Max Reitz wrote: > It should not be happening, but it is possible to truncate an image > outside of qemu while qemu is running (or any of the qemu tools using > the block layer. raw_co_get_block_status() should not break then. >=20 > While touching this test, replace the existing "truncate" invocation by= > "$QEMU_IMG convert -f raw". >=20 > Signed-off-by: Max Reitz > --- > tests/qemu-iotests/102 | 21 +++++++++++++++++++-- > tests/qemu-iotests/102.out | 11 +++++++++++ > 2 files changed, 30 insertions(+), 2 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --Qh548QpLvH9daRpTJGO8BeEHSFPMLhSql Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUSl4qAAoJEKeha0olJ0NqY+EH/1SlTos941nUC6dk1YY/373a sc3XrhEBW0bq/nM1NJzECbzgJybYKSlMJyUlzoafb158ppk+q8fzN3WHhu87XPp+ LRE0+bqu54azFW/b92s1QQC4tSq4v5SSomj67A5uolPtCXAOwqyJ1Yi0nBcqz+kc MByCDe1/caQ7E2mX1lFeH3NoU4eWA/kziU9A95kN0R+iYlrYB4tK3M4+0wb19k8q B3oBHZErs+KxZbHR6G7SRx93WPuf17CA8o7wF7orsWu/4wdsc3gz92D9TPytV6nm B1QoDxJuJw++LodKbpFld5lyoOyYelM3VWda3d7Ss08AGD4BhjN6UfWGWgEBHm8= =cz58 -----END PGP SIGNATURE----- --Qh548QpLvH9daRpTJGO8BeEHSFPMLhSql--