summaryrefslogtreecommitdiffstats
path: root/include/block/block.h
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2018-12-21 18:09:07 +0100
committerMax Reitz2019-01-31 00:38:19 +0100
commit5d3b4e99463642b226d1a37433d0e4b376162468 (patch)
tree10104806d3367656755bdf1190730f00e151e30e /include/block/block.h
parentMerge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190129'... (diff)
downloadqemu-5d3b4e99463642b226d1a37433d0e4b376162468.tar.gz
qemu-5d3b4e99463642b226d1a37433d0e4b376162468.tar.xz
qemu-5d3b4e99463642b226d1a37433d0e4b376162468.zip
qapi: add x-debug-query-block-graph
Add a new command, returning block nodes (and their users) graph. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-id: 20181221170909.25584-2-vsementsov@virtuozzo.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/block/block.h')
-rw-r--r--include/block/block.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/block/block.h b/include/block/block.h
index f70a843b72..57233cf2c0 100644
--- a/include/block/block.h
+++ b/include/block/block.h
@@ -448,6 +448,7 @@ void bdrv_eject(BlockDriverState *bs, bool eject_flag);
const char *bdrv_get_format_name(BlockDriverState *bs);
BlockDriverState *bdrv_find_node(const char *node_name);
BlockDeviceInfoList *bdrv_named_nodes_list(Error **errp);
+XDbgBlockGraph *bdrv_get_xdbg_block_graph(Error **errp);
BlockDriverState *bdrv_lookup_bs(const char *device,
const char *node_name,
Error **errp);