From 4c93a13b5daf9bd5fca1a547661b0fb9a2f0ca52 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 4 Sep 2013 19:00:33 +0200 Subject: 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 Signed-off-by: Stefan Hajnoczi --- qemu-img-cmds.hx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qemu-img-cmds.hx') 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 -- cgit v1.2.1