Handling of VM disk images.
-
class QemuImgInfo(cmd_output=None)
Bases: object
-
BACKING_FILE_RE = <_sre.SRE_Pattern object at 0x6086c20>
-
SIZE_RE = <_sre.SRE_Pattern object at 0x4617600>
-
TOP_LEVEL_RE = <_sre.SRE_Pattern object at 0x5fdb760>
-
convert_image(source, dest, out_format, run_as_root=False)
Convert image to other format.
-
fetch(context, image_href, path, _user_id, _project_id)
-
fetch_to_raw(context, image_href, path, user_id, project_id)
-
qemu_img_info(path)
Return an object containing the parsed output from qemu-img info.