package qcow

  1. Overview
  2. Docs
Support for Qcow2 images

Install

dune-project
 Dependency

Authors

Maintainers

Sources

qcow-0.11.0.tbz
sha256=563a2cc10c79055b6d57111592bc6f1445397cf5ef57e74f70f5e1ca6ec23807
sha512=4ab055332f964dff2c00d04a3f867b7fc86a9a6084f6d58bce59c04a6ed6f23aefe8965eb1c9c1ff4372393235b8920135409fd2f94a253493d8533a39d7d6bd

doc/qcow/Qcow_metadata/index.html

Module Qcow_metadataSource

Sourcetype t

Qcow metadata: clusters containing references and clusters containing reference counts.

Sourcetype error = [
  1. | Mirage_block.error
  2. | `Msg of string
]
Sourcetype write_error = [
  1. | Mirage_block.write_error
  2. | `Msg of string
]
Sourceval make : cache:Qcow_cache.t -> cluster_bits:int -> locks:Qcow_locks.t -> unit -> t

Construct a qcow metadata structure given a set of cluster read/write/flush operations

Sourceval set_cluster_map : t -> Qcow_cluster_map.t -> unit

Set the associated cluster map (which will be updated on every cluster write)

Sourcetype contents
Sourcemodule Refcounts : sig ... end
Sourcemodule Physical : sig ... end
Sourceval erase : contents -> unit

Set the cluster contents to zeroes

Read the contents of the given cluster and provide them to the given function

Read the contents of the given cluster, transform them through the given function and write the results back to disk