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>
This commit is contained in:
parent
2e3e331710
commit
75115d9569
2
hmp.c
2
hmp.c
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user