This patchset adds support for resuming downloads in virt-builder.

Partially downloaded file is not deleted on exit anymore.
There is a check for partially downloaded image in cache directory
based on its name. When found, download_to crafts appropriate
options to continue its download.

Maros Zatko (2):
  mllib: allow external_command to return [] on nonzero return value
  builder: support for download resume

 builder/downloader.ml  | 16 ++++++++++++----
 mllib/common_utils.ml  | 15 ++++++++++-----
 mllib/common_utils.mli |  2 +-
 3 files changed, 23 insertions(+), 10 deletions(-)

-- 
1.9.3

_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to