diff options
Diffstat (limited to 'doc/note/qemu/qemu.txt')
-rw-r--r-- | doc/note/qemu/qemu.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/note/qemu/qemu.txt b/doc/note/qemu/qemu.txt index 18f6789..d36e5e2 100644 --- a/doc/note/qemu/qemu.txt +++ b/doc/note/qemu/qemu.txt @@ -31,6 +31,10 @@ Example fstab entries: ### Create Standalone image based on snapshot image qemu-img convert -O qcow2 derived.qcow2 standalone.qcow2 +## Convert to based from standalone + qemu-img create -f qcow2 -b old.qcow2 new.qcow2 + qemu-img rebase -b base.qcow2 new.qcow2 + ## Shrink/compact img Normal systems: @@ -40,7 +44,6 @@ Windoof: sdelete -z C: qemu-img convert -O qcow2 input.qcow output.qcow2 - ## Shrink snapshot layer qemu-img convert -O qcow2 snapLayer.qcow2 tmpFullClone.qcow2 |