On 2014-10-29 at 06:04, Fam Zheng wrote:
Similar to bdrv_next, this traverses through graph_bdrv_states. Will be useful to enumerate all the named nodes.Signed-off-by: Fam Zheng <f...@redhat.com> --- block.c | 8 ++++++++ include/block/block.h | 1 + 2 files changed, 9 insertions(+)
You could reuse this for bdrv_named_nodes_list(), but that's optional. Reviewed-by: Max Reitz <mre...@redhat.com>