COT.disks.qcow2 module¶
Handling of QCOW2 files.
-
class
QCOW2(path)[source]¶ Bases:
COT.disks.disk.DiskRepresentationQCOW2 disk image file representation.
-
classmethod
from_other_image(input_image, output_dir, output_subformat=None)[source]¶ Convert the other disk image into an image of this type.
Parameters: - input_image (DiskRepresentation) -- Existing image representation.
- output_dir (str) -- Output directory to store the new image in.
- output_subformat (str) -- Any relevant subformat information.
Returns: QCOW2 -- representation of newly created qcow2 image file
-
disk_format= 'qcow2'¶
-
classmethod