# qemu-img info disk
image: disk
file format: qcow2
virtual size: 25G (26843545600 bytes)
disk size: 136M
cluster_size: 65536
backing file: /var/lib/nova/instances/_base/ea7923216fd86945ff3f8aa86c02277f4799ccf4
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
# qemu-img rebase -b /root/ea7923216fd86945ff3f8aa86c02277f4799ccf4 disk
# qemu-img info disk
image: disk
file format: qcow2
virtual size: 25G (26843545600 bytes)
disk size: 136M
cluster_size: 65536
backing file: /root/ea7923216fd86945ff3f8aa86c02277f4799ccf4
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
¡Ø rebase [-q] [-f fmt] [-t cache] [-T src_cache] [-p] [-u] -b backing_file [-F backing_fmt] filename