package qcow-stream

  1. Overview
  2. Docs
Library offering QCOW streaming capabilities

Install

dune-project
 Dependency

Authors

Maintainers

Sources

qcow-0.14.0.tbz
sha256=0c7845059853675ae99bf0d1463670f81af4e84131f9c871e0cc5e813fb53504
sha512=5bb14b6a1ca355f09fc800692ba97590c6d653823b4df951a11c3bfd83c574b41364e32b124738c219bbb5d11af3ea04d7b69afe9562f5112c2cb6b6834e77d1

doc/qcow-stream/Qcow_mapping/index.html

Module Qcow_mappingSource

Sourcetype t
Sourceval create : int64 -> t
Sourceval extend : t -> int64 -> unit
Sourceval get : t -> int64 -> int64
Sourceval set : t -> int64 -> int64 -> unit
Sourceval length : t -> int64
Sourceval to_interval_seq : t -> int64 -> (int64 * int64) Seq.t

to_interval_seq t cluster_bits returns a sequence of allocated virtual data cluster intervals, intended to be used with sparse disks.

Thus, for a physical image represented by an array of physical clusters and their corresponding virtual clusters: -1; 1; 2; 3; 7; -1; 4

to_interval_seq will return: (1,3); (7,7); (4,4)