Received: from eggs.gnu.org ([2001:4830:134:3::10]:42711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1briZx-0003An-TW for qemu-devel@nongnu.org; Wed, 05 Oct 2016 05:33:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1briZt-0006ay-QP for qemu-devel@nongnu.org; Wed, 05 Oct 2016 05:33:32 -0400 Received: from mailhub.sw.ru ([195.214.232.25]:17120 helo=relay.sw.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1briZt-0006V3-Dt for qemu-devel@nongnu.org; Wed, 05 Oct 2016 05:33:29 -0400 From: "Denis V. Lunev" Date: Wed, 5 Oct 2016 12:33:06 +0300 Message-Id: <1475659988-20500-1-git-send-email-den@openvz.org> Subject: [Qemu-devel] [PATCH 0/2] nbd: add zero-init parameter List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org, qemu-devel@nongnu.org Cc: den@openvz.org, Denis Plotnikov , Paolo Bonzini , Kevin Wolf , Max Reitz When using a nbd block device, the info about necessity of prior disk zeroing could significantly improve the speed of certain operations (e.g. backups). This patch also will allow to preserve QCOW2 images during migration. Management software now may specify zero-init option and thus abscent areas in the QCOW2 areas will not be marked as zeroes and will remain empty. This is tight distiction but it is here. Signed-off-by: Denis Plotnikov Signed-off-by: Denis V. Lunev CC: Paolo Bonzini CC: Kevin Wolf CC: Max Reitz Denis Plotnikov (2): nbd: change option parsing scheme nbd: add zero-init parameter block/nbd.c | 204 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 184 insertions(+), 20 deletions(-) -- 2.7.4