COT.disks.qcow2 module

Handling of QCOW2 files.

class QCOW2(path)[source]

Bases: COT.disks.disk.DiskRepresentation

QCOW2 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.

  • input_image (DiskRepresentation) -- Existing image representation.
  • output_dir (str) -- Output directory to store the new image in.
  • output_subformat (str) -- Any relevant subformat information.

QCOW2 -- representation of newly created qcow2 image file

disk_format = 'qcow2'