Convert check_guestfs_version into an Image method It used to be a function in util module
Fix multiple bugs in util.get_kvm_binary The machine hardware name fetched by `uname -m' should have been stripped, and a --enable-kvm option should be added if the returned executable was qemu-system-<arch>
Add a function for finding out the kvm binary On some systems it is kvm, on some others it is qemu-system-x86_64. On 32bit PC it is qemu-system-i386
Fix an missing func error introduced in e1c0be0296
Add check_guestfs_version function This function is used to check if a specified libguestfs version is smaller, greater or equal to the installed one
Code Cleanup * Prefix all private methods with _ * Write missing docstrings * Move all public methods above the private ones * Add module docstrings where missing * Define source code encodings on all modules
Fix typo in sh.CommandNotFound exception
Add missing docstrings
Clean-up the code using flake8
Allow users to specify tmp dir for large files The cow file when creating images or the temporary image file when bundling the host system may be large. Allow the user to overwrite the directory under which those files get created.
Retry cleanup commands if they fail Add a new try_fail_repeat function that wraps cleanup system commands and retries them if they fail. There are cases where commands like dmsetup, umount and losetup -d may fail with device is busy. In most of the cases, sleeping for halve a second and retrying does the job.
Drop pbs dependency in favor of sh PBS has now bocome sh.
Create a new output subpackage
Add size param in the Output.Progress constructor
Unify output by creating a seperated output module All image-creator components now output messages using an instance of one of the output classes.
Add support for GUID Partition Tables
Switch to ansicolor for coloring & fix pep8 errors
Use progress for progress bar & implement register
Fix pep8 errors
Add progress bar in pithos upload & compute md5sum