[Qemu-devel] [PATCH 0/4] block nodes graph visualization

Vladimir Sementsov-Ogievskiy posted 4 patches 7 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1534440027-10528-1-git-send-email-vsementsov@virtuozzo.com
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test docker-quick@centos7 passed
There is a newer version of this series
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(-)
[Qemu-devel] [PATCH 0/4] block nodes graph visualization
Posted by Vladimir Sementsov-Ogievskiy 7 years, 2 months ago
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(-)

-- 
2.11.1


Re: [Qemu-devel] [PATCH 0/4] block nodes graph visualization
Posted by Vladimir Sementsov-Ogievskiy 7 years, 2 months ago
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