[libvirt] [PATCH v3 30/31] virsh: Implement sparse stream to vol-download

John Ferlan jferlan at redhat.com
Wed May 17 15:46:00 UTC 2017



On 05/16/2017 10:04 AM, Michal Privoznik wrote:
> The command grew new --sparse switch that does nothing more than

s/The command grew new/Add a new/

> enables the sparse streams feature for this command. Among with
> the switch new helper function is introduced: virshStreamSkip().
> This is the callback that is called whenever daemon sends us a
> hole. In the callback we reflect the hole in underlying file by
> seeking as many bytes as told.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  tools/virsh-util.c   | 18 ++++++++++++++++++
>  tools/virsh-util.h   |  5 +++++
>  tools/virsh-volume.c | 12 ++++++++++--
>  tools/virsh.pod      |  3 ++-
>  4 files changed, 35 insertions(+), 3 deletions(-)
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list