diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-09-04 19:00:33 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-09-06 15:25:09 +0200 |
commit | 4c93a13b5daf9bd5fca1a547661b0fb9a2f0ca52 (patch) | |
tree | 2c45c16b7ac2862a6f0f770d5f1259ffe3503dc2 /qemu-img-cmds.hx | |
parent | f0ad5712d5d15ff272b9e107910be4aae468fb3d (diff) | |
download | qemu-4c93a13b5daf9bd5fca1a547661b0fb9a2f0ca52.zip |
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.hx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu-img-cmds.hx b/qemu-img-cmds.hx index 2f6d57997d..0c36e5968f 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 |