Documentation
¶
Overview ¶
Package qed implements a read-only reader for the QEMU Enhanced Disk (QED) format, a two-level-page-table virtual disk image. On-disk fields are little-endian, and allocation is tracked through an L1 table of L2 tables that map logical clusters to physical file offsets.
The format predates and was superseded by qcow2 in QEMU; QED images with a backing file are rejected because backing-file resolution is not supported.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Disk ¶
type Disk struct {
// contains filtered or unexported fields
}
Disk is a read-only QED (QEMU Enhanced Disk) image. It implements io.ReaderAt. All on-disk fields are little-endian, unlike qcow2.
func Open ¶
Open parses the QED header and L1 table at the start of ra and returns a ready-to-read Disk.