]> git.proxmox.com Git - qemu.git/commit - qmp-commands.hx
block: Use bdrv_get_backing_file_depth()
authorBenoît Canet <benoit.canet@gmail.com>
Thu, 2 Aug 2012 08:22:48 +0000 (10:22 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 3 Aug 2012 13:10:51 +0000 (10:10 -0300)
commit2e3e331710faa8d0b7d70b73e87df1fb6d33d0d3
tree006bd010517ea6ccb917e29b9ededb45dbd61664
parentf198fd1c9aedaae2fa78eb94e236e95ce4f2aedd
block: Use bdrv_get_backing_file_depth()

Use the dedicated counting function in qmp_query_block in order to
propagate the backing file depth to HMP and add backing_file_depth
to qmp-commands.hx

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
qapi-schema.json
qmp-commands.hx