diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2012-10-17 14:02:31 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-10-24 10:26:19 +0200 |
commit | 9699bf0d06eb42625779216586a28d19d8fc005d (patch) | |
tree | 73af67c5464423c8c85a08fcfc39bb97d1f244ab /tests/qemu-iotests/group | |
parent | 6bf0d1f478a5a425c0c024994375592805d591c0 (diff) | |
download | qemu-9699bf0d06eb42625779216586a28d19d8fc005d.tar.gz qemu-9699bf0d06eb42625779216586a28d19d8fc005d.tar.bz2 qemu-9699bf0d06eb42625779216586a28d19d8fc005d.zip |
qemu-img: Add --backing-chain option to info command
The qemu-img info --backing-chain option enumerates the backing file
chain. For example, for base.qcow2 <- snap1.qcow2 <- snap2.qcow2 the
output becomes:
$ qemu-img info --backing-chain snap2.qcow2
image: snap2.qcow2
file format: qcow2
virtual size: 100M (104857600 bytes)
disk size: 196K
cluster_size: 65536
backing file: snap1.qcow2
backing file format: qcow2
image: snap1.qcow2
file format: qcow2
virtual size: 100M (104857600 bytes)
disk size: 196K
cluster_size: 65536
backing file: base.qcow2
backing file format: qcow2
image: base.qcow2
file format: qcow2
virtual size: 100M (104857600 bytes)
disk size: 136K
cluster_size: 65536
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/group')
0 files changed, 0 insertions, 0 deletions