Expand description
VM disk image file format I/O.
Modulesยง
- android_sparse ๐
- asynchronous ๐Asynchronous disk image helpers.
- composite ๐
- gpt ๐Functions for writing GUID Partition Tables for use in a composite disk image.
- qcow ๐
- sys ๐
- zstd ๐Use seekable zstd archive of raw disk image as read only disk
Structsยง
- Information about a partition to create.
- Represents a qcow2 file. This is a sparse file format maintained by the qemu project. Full documentation of the format can be found in the qemu repository.
- A disk backed by a single file that implements
AsyncDisk
for access.
Enumsยง
- The type of partition.
- The variants of image files on the host that can be used as virtual disks.
Constantsยง
- MAX_NESTING_DEPTH ๐Nesting depth limit for disk formats that can open other disk files.
Traitsยง
- An asynchronously accessible disk.
- The prerequisites necessary to support a block device.
- A trait for getting the length of a disk image or raw block device.
- A
DiskFile
that can be converted for asychronous access.
Functionsยง
- Create a new composite disk image containing the given partitions, and write it out to the given files.
- Create a zero filler file which can be used to fill the gaps between partition files. The filler is sized to be big enough to fill the gaps. (1 << PARTITION_SIZE_SHIFT)
- Detect the type of an image file by checking for a valid header of the supported formats.
- Inspect the image file type and create an appropriate disk file to match it.