|
@@ -6351,7 +6351,7 @@ XDbgBlockGraph *bdrv_get_xdbg_block_graph(Error **errp)
|
|
|
if (!*name) {
|
|
|
name = allocated_name = blk_get_attached_dev_id(blk);
|
|
|
}
|
|
|
- xdbg_graph_add_node(gr, blk, X_DBG_BLOCK_GRAPH_NODE_TYPE_BLOCK_BACKEND,
|
|
|
+ xdbg_graph_add_node(gr, blk, XDBG_BLOCK_GRAPH_NODE_TYPE_BLOCK_BACKEND,
|
|
|
name);
|
|
|
g_free(allocated_name);
|
|
|
if (blk_root(blk)) {
|
|
@@ -6364,7 +6364,7 @@ XDbgBlockGraph *bdrv_get_xdbg_block_graph(Error **errp)
|
|
|
job = block_job_next_locked(job)) {
|
|
|
GSList *el;
|
|
|
|
|
|
- xdbg_graph_add_node(gr, job, X_DBG_BLOCK_GRAPH_NODE_TYPE_BLOCK_JOB,
|
|
|
+ xdbg_graph_add_node(gr, job, XDBG_BLOCK_GRAPH_NODE_TYPE_BLOCK_JOB,
|
|
|
job->job.id);
|
|
|
for (el = job->nodes; el; el = el->next) {
|
|
|
xdbg_graph_add_edge(gr, job, (BdrvChild *)el->data);
|
|
@@ -6373,7 +6373,7 @@ XDbgBlockGraph *bdrv_get_xdbg_block_graph(Error **errp)
|
|
|
}
|
|
|
|
|
|
QTAILQ_FOREACH(bs, &graph_bdrv_states, node_list) {
|
|
|
- xdbg_graph_add_node(gr, bs, X_DBG_BLOCK_GRAPH_NODE_TYPE_BLOCK_DRIVER,
|
|
|
+ xdbg_graph_add_node(gr, bs, XDBG_BLOCK_GRAPH_NODE_TYPE_BLOCK_DRIVER,
|
|
|
bs->node_name);
|
|
|
QLIST_FOREACH(child, &bs->children, next) {
|
|
|
xdbg_graph_add_edge(gr, bs, child);
|