From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjOwg-0007bc-P2 for qemu-devel@nongnu.org; Wed, 29 Oct 2014 04:49:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjOwa-000868-KQ for qemu-devel@nongnu.org; Wed, 29 Oct 2014 04:49:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjOwa-00085q-DI for qemu-devel@nongnu.org; Wed, 29 Oct 2014 04:49:28 -0400 Message-ID: <5450AA10.6010100@redhat.com> Date: Wed, 29 Oct 2014 09:49:20 +0100 From: Max Reitz MIME-Version: 1.0 References: <1414559044-14501-1-git-send-email-famz@redhat.com> <1414559044-14501-2-git-send-email-famz@redhat.com> In-Reply-To: <1414559044-14501-2-git-send-email-famz@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/4] block: Add bdrv_next_node List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , Benoit Canet , Markus Armbruster , Luiz Capitulino , Stefan Hajnoczi 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 could reuse this for bdrv_named_nodes_list(), but that's optional. Reviewed-by: Max Reitz