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 <dplotni...@virtuozzo.com> Signed-off-by: Denis V. Lunev <d...@openvz.org> CC: Paolo Bonzini <pbonz...@redhat.com> CC: Kevin Wolf <kw...@redhat.com> CC: Max Reitz <mre...@redhat.com> 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