From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeR5s-0004Id-H1 for qemu-devel@nongnu.org; Thu, 07 Nov 2013 10:02:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VeR5j-0008Tn-D8 for qemu-devel@nongnu.org; Thu, 07 Nov 2013 10:02:00 -0500 Received: from nodalink.pck.nerim.net ([62.212.105.220]:41966 helo=paradis.irqsave.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeR5j-0008RA-3i for qemu-devel@nongnu.org; Thu, 07 Nov 2013 10:01:51 -0500 From: =?UTF-8?q?Beno=C3=AEt=20Canet?= Date: Thu, 7 Nov 2013 16:01:41 +0100 Message-Id: <1383836503-25447-1-git-send-email-benoit@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 0/2] Giving names to graph's BlockDriverState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, =?UTF-8?q?Beno=C3=AEt=20Canet?= , armbru@redhat.com, stefanha@redhat.com The following series introduce a new file.node-name property in order to = be able to give a name to each BlockDriverState of the graph. It also define "undefined" as a special value for node-name; a value that= will be used to indicate to the management that it can not manipulate a node beca= use it was not named. After this patchset is merged I would like to take care of presenting the= graph to the management. (HMP &&/|| QMP) Eric: Do you have some ideas on this topic ? Best regards Beno=C3=AEt Beno=C3=AEt Canet (2): block: Add bs->node_name to hold the name of a bs node of the bs graph. block: Allow the user to define "node-name" option. block.c | 72 +++++++++++++++++++++++++++++++++++------= ------ block/blkverify.c | 2 +- block/iscsi.c | 2 +- block/vmdk.c | 2 +- block/vvfat.c | 4 +-- blockdev.c | 8 +++--- hw/block/xen_disk.c | 2 +- include/block/block.h | 3 +- include/block/block_int.h | 9 +++++- qemu-img.c | 6 ++-- qemu-io.c | 2 +- qemu-nbd.c | 2 +- 12 files changed, 79 insertions(+), 35 deletions(-) --=20 1.8.3.2