aboutsummaryrefslogtreecommitdiff
path: root/qemu-img-cmds.hx
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-09-04 19:00:33 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-09-06 15:25:09 +0200
commit4c93a13b5daf9bd5fca1a547661b0fb9a2f0ca52 (patch)
tree2c45c16b7ac2862a6f0f770d5f1259ffe3503dc2 /qemu-img-cmds.hx
parentf0ad5712d5d15ff272b9e107910be4aae468fb3d (diff)
downloadqemu-4c93a13b5daf9bd5fca1a547661b0fb9a2f0ca52.zip
qemu-4c93a13b5daf9bd5fca1a547661b0fb9a2f0ca52.tar.gz
qemu-4c93a13b5daf9bd5fca1a547661b0fb9a2f0ca52.tar.bz2
qemu-img: add a "map" subcommand
This command dumps the metadata of an entire chain, in either tabular or JSON format. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-img-cmds.hx')
-rw-r--r--qemu-img-cmds.hx6
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu-img-cmds.hx b/qemu-img-cmds.hx
index 2f6d579..0c36e59 100644
--- a/qemu-img-cmds.hx
+++ b/qemu-img-cmds.hx
@@ -45,6 +45,12 @@ STEXI
@item info [-f @var{fmt}] [--output=@var{ofmt}] [--backing-chain] @var{filename}
ETEXI
+DEF("map", img_map,
+ "map [-f fmt] [--output=ofmt] filename")
+STEXI
+@item map [-f @var{fmt}] [--output=@var{ofmt}] @var{filename}
+ETEXI
+
DEF("snapshot", img_snapshot,
"snapshot [-q] [-l | -a snapshot | -c snapshot | -d snapshot] filename")
STEXI