go-qcow2reader provides io.ReaderAt
for qcow2 images.
Use io.NewSectionReader
to wrap io.ReaderAt
into io.Reader
:
f, _ := os.Open("a.qcow2")
defer f.Close()
img, _ := qcow2reader.Open(f)
r := io.NewSectionReader(img, 0, img.Size()))
The following features are not supported yet:
The following features are experimentally supported: