Re: [Qemu-devel] [PATCH 1/4] block: Add bdrv_next_node

2014-10-31 Thread Eric Blake
On 10/28/2014 11:04 PM, 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 > --- > block.c | 8 > include/block/block.h | 1 + > 2 files changed, 9 insertions(+)

Re: [Qemu-devel] [PATCH 1/4] block: Add bdrv_next_node

2014-10-29 Thread Max Reitz
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 --- block.c | 8 include/block/block.h | 1 + 2 files changed, 9 insertions(+) You coul

[Qemu-devel] [PATCH 1/4] block: Add bdrv_next_node

2014-10-28 Thread Fam Zheng
Similar to bdrv_next, this traverses through graph_bdrv_states. Will be useful to enumerate all the named nodes. Signed-off-by: Fam Zheng --- block.c | 8 include/block/block.h | 1 + 2 files changed, 9 insertions(+) diff --git a/block.c b/block.c index 88f6d9b..c92a913 1