diff options
author | BenoƮt Canet <benoit.canet@gmail.com> | 2012-08-02 10:22:49 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-08-03 10:10:55 -0300 |
commit | 75115d9569164b99a52847450d5133af62f3d370 (patch) | |
tree | 6c8422b056d56caebd26cbcc4805602605a91527 /hmp.c | |
parent | 2e3e331710faa8d0b7d70b73e87df1fb6d33d0d3 (diff) | |
download | qemu-75115d9569164b99a52847450d5133af62f3d370.tar.gz qemu-75115d9569164b99a52847450d5133af62f3d370.tar.bz2 qemu-75115d9569164b99a52847450d5133af62f3d370.zip |
hmp: show the backing file depth
Signed-off-by: Benoit Canet <benoit@irqsave.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -227,6 +227,8 @@ void hmp_info_block(Monitor *mon) if (info->value->inserted->has_backing_file) { monitor_printf(mon, " backing_file="); monitor_print_filename(mon, info->value->inserted->backing_file); + monitor_printf(mon, " backing_file_depth=%" PRId64, + info->value->inserted->backing_file_depth); } monitor_printf(mon, " ro=%d drv=%s encrypted=%d", info->value->inserted->ro, |