[libvirt] [PATCH v3 31/31] virsh: Implement sparse stream to vol-upload
John Ferlan
jferlan at redhat.com
Wed May 17 15:51:28 UTC 2017
On 05/16/2017 10:04 AM, Michal Privoznik wrote:
> Similarly to previous commit, implement sparse streams feature
> for vol-upload. This is, however, slightly different approach,
> because we must implement a function that will tell us whether
> we are in a data section or in a hole. But there's no magic
> hidden in here.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> tools/virsh-util.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++
> tools/virsh-util.h | 24 ++++++++++++++++++++++++
> tools/virsh-volume.c | 38 +++++++++++++++++++++++++-------------
> tools/virsh.pod | 3 ++-
> 4 files changed, 98 insertions(+), 14 deletions(-)
>
Reviewed-by: John Ferlan <jferlan at redhat.com>
John
More information about the libvir-list
mailing list