Received: from eggs.gnu.org ([2001:4830:134:3::10]:44176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V030j-0000YN-AN for qemu-devel@nongnu.org; Fri, 19 Jul 2013 01:13:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V030i-0006MB-EL for qemu-devel@nongnu.org; Fri, 19 Jul 2013 01:13:45 -0400 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:43973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V030i-0006Lw-7x for qemu-devel@nongnu.org; Fri, 19 Jul 2013 01:13:44 -0400 Received: by mail-wg0-f46.google.com with SMTP id c11so3525705wgh.13 for ; Thu, 18 Jul 2013 22:13:43 -0700 (PDT) Date: Fri, 19 Jul 2013 13:13:34 +0800 From: Stefan Hajnoczi Message-ID: <20130719051334.GE14330@stefanha-thinkpad.redhat.com> References: <1373885375-13601-1-git-send-email-pl@kamp.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1373885375-13601-1-git-send-email-pl@kamp.de> Subject: Re: [Qemu-devel] [PATCH 0/4] qemu-img: conditionally discard target on convert List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: kwolf@redhat.com, pbonzini@redhat.com, stefanha@redhat.com, qemu-devel@nongnu.org, ronniesahlberg@gmail.com On Mon, Jul 15, 2013 at 12:49:31PM +0200, Peter Lieven wrote: > this adds the proposed solution to add a generic mechanism to zeroize > a target in qemu-img if it has discard_zeroes but has_zero_init is 0. > > Peter Lieven (4): > block: add discard_zeroes and max_unmap to BlockDriverInfo > iscsi: add .bdrv_get_info > block/raw: add .bdrv_get_info > qemu-img: conditionally discard target on convert > > block/iscsi.c | 19 +++++++++++++++-- > block/raw.c | 6 ++++++ > include/block/block.h | 5 +++++ > qemu-img.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++- > 4 files changed, 83 insertions(+), 3 deletions(-) Thanks, applied Patch 3 to my block tree as requested: https://github.com/stefanha/qemu/commits/block Stefan