[Libguestfs] [PATCH 0/2] [RFE] virt-builder should support download resume

Maros Zatko mzatko at redhat.com
Wed Mar 18 16:20:05 UTC 2015


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




More information about the Libguestfs mailing list