Utility functions for Image transfer.
Download flat image from the glance image server.
Download stream optimized image from glance image server.
Start the data transfer from the reader to the writer.
Reader writes to the pipe and the writer reads from the pipe. This means that the total transfer time boils down to the slower of the read/write and not the addition of the two times.
Upload the vm’s disk file to Glance image server.