Received: from eggs.gnu.org ([2001:4830:134:3::10]:45125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDsqX-0003FA-HT for qemu-devel@nongnu.org; Mon, 26 Aug 2013 05:12:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDsqW-0005lg-CG for qemu-devel@nongnu.org; Mon, 26 Aug 2013 05:12:25 -0400 Received: from mail.avalus.com ([2001:41c8:10:1dd::10]:51218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDsqW-0005l4-5M for qemu-devel@nongnu.org; Mon, 26 Aug 2013 05:12:24 -0400 From: Alex Bligh Date: Mon, 26 Aug 2013 10:12:00 +0100 Message-Id: <1377508321-16507-1-git-send-email-alex@alex.org.uk> Subject: [Qemu-devel] [PATCHv5] add qemu-img convert -n option (skip target volume creation) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Anthony Liguori , Fam Zheng , Alex Bligh , Stefan Hajnoczi , Paolo Bonzini Add a qemu-img convert -n option to skip target volume creation Changes since v5: * Fail conversion if the existing output image is smaller than the input image and the -n option is specified * Use -n not -C * Add a test routine Alexandre Derumier (1): add qemu-img convert -n option (skip target volume creation) qemu-img-cmds.hx | 4 +- qemu-img.c | 49 ++++++++++++++------- qemu-img.texi | 15 ++++++- tests/qemu-iotests/060 | 101 ++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/060.out | 10 +++++ tests/qemu-iotests/group | 1 + 6 files changed, 162 insertions(+), 18 deletions(-) create mode 100755 tests/qemu-iotests/060 create mode 100644 tests/qemu-iotests/060.out -- 1.7.9.5