Here is an image
16.08.2018 20:20, Vladimir Sementsov-Ogievskiy wrote:
> Hi all!
>
> On the way of backup schemes development (and in general any complicated
> developments in Qemu block layer) it would be good to have a way to print
> out graph of block nodes with their permissions. Here is this way.
>
> Instead of a lot of words I'll reply to this cover letter with example
> graph, generated in patch 04.
>
> Vladimir Sementsov-Ogievskiy (4):
> block: improve blk_root_get_parent_desc
> qapi: add x-query-block-nodes-relations
> scripts/qemu: add render_block_graph method for QEMUMachine
> not-for-commit: example of new command usage for debugging
>
> qapi/block-core.json | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++
> include/block/block.h | 1 +
> block.c | 57 ++++++++++++++++++++++++++++++++++++++++
> block/block-backend.c | 2 +-
> blockdev.c | 5 ++++
> scripts/qemu.py | 53 +++++++++++++++++++++++++++++++++++++
> tests/qemu-iotests/222 | 1 +
> 7 files changed, 189 insertions(+), 1 deletion(-)
>
--
Best regards,
Vladimir