• M
    virsh: Implement sparse stream to vol-download · f03b44b2
    Michal Privoznik 提交于
    Add a new --sparse switch that does nothing more than
    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: NMichal Privoznik <mprivozn@redhat.com>
    f03b44b2
virsh.pod 206.2 KB