Expand description
VM disk image file format I/O.
Modules§
- Asynchronous disk image helpers.
- gpt 🔒Functions for writing GUID Partition Tables for use in a composite disk image.
- qcow 🔒
- sys 🔒
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§
- 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.