From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbovh-0007J4-Bj for qemu-devel@nongnu.org; Mon, 22 Aug 2016 09:06:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbovd-0002Df-7C for qemu-devel@nongnu.org; Mon, 22 Aug 2016 09:06:17 -0400 Date: Mon, 22 Aug 2016 09:06:10 -0400 From: Stefan Hajnoczi Message-ID: <20160822130610.GC28679@stefanha-x1.localdomain> References: <20160822075517.5859-1-fullmanet@gmail.com> <20160822075517.5859-2-fullmanet@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eHhjakXzOLJAF9wJ" Content-Disposition: inline In-Reply-To: <20160822075517.5859-2-fullmanet@gmail.com> Subject: Re: [Qemu-devel] [PATCH 1/7] qemu-img: add seek option to dd List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Reda Sallahi Cc: qemu-devel@nongnu.org, Kevin Wolf , Fam Zheng , qemu-block@nongnu.org, Max Reitz , Stefan Hajnoczi --eHhjakXzOLJAF9wJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 22, 2016 at 09:55:11AM +0200, Reda Sallahi wrote: > This patch adds the seek option which allows qemu-img dd to skip a number= of > blocks on the output before copying the input. >=20 > A test case was added to test the seek option. >=20 > Signed-off-by: Reda Sallahi > --- > qemu-img-cmds.hx | 4 +-- > qemu-img.c | 45 +++++++++++++++++++++++----- > qemu-img.texi | 4 ++- > tests/qemu-iotests/161 | 73 ++++++++++++++++++++++++++++++++++++++++= ++++++ > tests/qemu-iotests/161.out | 51 ++++++++++++++++++++++++++++++++ > tests/qemu-iotests/group | 1 + > 6 files changed, 167 insertions(+), 11 deletions(-) > create mode 100755 tests/qemu-iotests/161 > create mode 100644 tests/qemu-iotests/161.out Reviewed-by: Stefan Hajnoczi --eHhjakXzOLJAF9wJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXuvjCAAoJEJykq7OBq3PIeBsH/A4AGGoxpmhC5UPZapFKaufU EFsHY6xOMVZpeCjjJ/t/Kxs24JfSFMPVVLME55KlOvN2waurvOaxXasTRIL8RTGC WVcLnhKPxfBvc5X34WmoGcejxX8vzZ2KTKBSKl7Z70HwA1reC2qCit5DNsPgR3Yi NviQbl0ku42tMJEii8UwJmLTVX3p72tVNN6eeUSL2WG7+XDA1gBgirOoGiknG75+ FOUOF21BuR7ycwiX7hNx4Cpa7Fdhd6ufa/fBo3LE+DuslDmcn5EOVABMZ4KMy8/Q CnTfQzZ0Zbou5+1VHClR8NBNrn5zLcmH1EZHRrYYIkW6ZjLQEZ45EokuTvXrV7Y= =RV+W -----END PGP SIGNATURE----- --eHhjakXzOLJAF9wJ--