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(a)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(a)redhat.com>
John