diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2018-12-21 20:09:07 +0300 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2019-01-31 00:38:19 +0100 |
commit | 5d3b4e99463642b226d1a37433d0e4b376162468 (patch) | |
tree | 10104806d3367656755bdf1190730f00e151e30e /blockdev.c | |
parent | b4fbe1f65a4769c09e6bf2d79fc84360f840f40e (diff) |
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 'blockdev.c')
-rw-r--r-- | blockdev.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/blockdev.c b/blockdev.c index a8fa8748a9..fb18e9c975 100644 --- a/blockdev.c +++ b/blockdev.c @@ -3582,6 +3582,11 @@ BlockDeviceInfoList *qmp_query_named_block_nodes(Error **errp) return bdrv_named_nodes_list(errp); } +XDbgBlockGraph *qmp_x_debug_query_block_graph(Error **errp) +{ + return bdrv_get_xdbg_block_graph(errp); +} + BlockJob *do_blockdev_backup(BlockdevBackup *backup, JobTxn *txn, Error **errp) { |