[Libguestfs] [PATCH 00/18] rvh-upload: Various fixes and cleanups

Nir Soffer nirsof at gmail.com
Sun Nov 17 23:04:22 UTC 2019


This series extract oVirt SDK and imageio code to make it eaiser to follow the
code and improve error handing in open() and close().

The first small patches can be consider as fixes for downstream.

Tested based on libguestfs v1.41.5, since I had trouble building virt-v2v and
libguestfs from master.

Nir Soffer (18):
  rhv-upload: Remove unused exception class
  rhv-upload: Check status more frequently
  rhv-upload: Don't flush() in close()
  rhv-upload: Ensure connection is closed in close()
  rhv-upload: Ensure http is closed in close()
  rhv-upload: Fix cleanup after errors
  rhv-upload: Group oVirt SDK functions
  rhv-upload: Don't keep disk_service in handle
  rhv-upload: Extract create_disk() function
  rhv-upload: Try to remove disk on timeout
  rhv-upload: Keep disk_id in handle
  rhv-upload: Don't keep transfer_service in handle
  rhv-upload: Get host before creating disk
  rhv-upload: Extract create_transfer() function
  rhv-upload: Extract imageio helpers
  rhv-upload: Extract get_options() helper
  rhv-upload: Extract optimize_http() helper
  rhv-upload: Clean up username and password

 v2v/rhv-upload-plugin.py | 550 +++++++++++++++++++++------------------
 1 file changed, 295 insertions(+), 255 deletions(-)

-- 
2.21.0





More information about the Libguestfs mailing list