Skip to content

Commit

Permalink
Returns several useful information about Qcow2 file
Browse files Browse the repository at this point in the history
This script can returns:
- the number of allocated clusters in a Qcow file.
- the number of newly allocated clusters in a Qcow file
  compared to a reference one (like the backing file).
- it can erase all data and set clusters as unallocated
- it can set/unset/get the hidden property.
  - for now it creates the custom header if not found but it can easily
    be changed.

NOTE: This script is a POC to validate that all helpers from vhd util
are also doable with qcow file. It will be used in another file.

Signed-off-by: Guillaume <[email protected]>
  • Loading branch information
gthvn1 committed Nov 14, 2024
1 parent eae2679 commit 7b63087
Showing 1 changed file with 467 additions and 0 deletions.
Loading

0 comments on commit 7b63087

Please sign in to comment.