]> git.proxmox.com Git - qemu.git/commit
block: create bdrv_get_backing_file_depth()
authorBenoît Canet <benoit.canet@gmail.com>
Thu, 2 Aug 2012 08:22:47 +0000 (10:22 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 3 Aug 2012 13:10:38 +0000 (10:10 -0300)
commitf198fd1c9aedaae2fa78eb94e236e95ce4f2aedd
tree3511fe358de0c41a09d8105cb3c5a39375f0568f
parente0d45df7a5794b6821d2f8893a7f343109debab9
block: create bdrv_get_backing_file_depth()

Create bdrv_get_backing_file_depth() in order to be able to show
in QMP and HMP how many ancestors backing an image a block device
have.

Signed-off-by: Benoit Canet <benoit@irqsave.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
block.c
block.h