Received: from eggs.gnu.org ([2001:4830:134:3::10]:52645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgF7s-0007bD-GP for qemu-devel@nongnu.org; Tue, 12 Nov 2013 09:39:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgF7m-0007NW-Gv for qemu-devel@nongnu.org; Tue, 12 Nov 2013 09:39:32 -0500 Received: from nodalink.pck.nerim.net ([62.212.105.220]:43396 helo=paradis.irqsave.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgF7m-0007Fd-6g for qemu-devel@nongnu.org; Tue, 12 Nov 2013 09:39:26 -0500 From: =?UTF-8?q?Beno=C3=AEt=20Canet?= Date: Tue, 12 Nov 2013 15:39:15 +0100 Message-Id: <1384267158-13371-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] [RFC V2 0/3] Giving names to BlockDriverState graph nodes 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?= , jcody@redhat.com, armbru@redhat.com, stefanha@redhat.com This series fix the issues of V1 and add the skeletton of a new QMP comma= nd useful to communicate a bs graph to libvirt. The minimum is exposed to the management to avoid binding it too much wit= h QEMU. Tell me if you think it's worth implementing. Best regards Beno=C3=AEt v2: s/give/gives/ [Eric] s/see/sees/ [Eric] prevent duplicate node_name [Eric] drop "undefined" and use "" [Eric, Kevin, Jeff] remove from graph list on bdrv_make_anon [Jeff] comment the two chains [Fam] Add new command stub to retrieve the graph from libvirt [Beno=C3=AEt] Beno=C3=AEt Canet (3): 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. qapi: Add skeletton of command to query a drive bs graph. block.c | 88 +++++++++++++++++++++++++++++++++++++----= ------ block/blkverify.c | 2 +- block/iscsi.c | 2 +- block/vmdk.c | 2 +- block/vvfat.c | 4 +-- blockdev.c | 16 ++++++--- hw/block/xen_disk.c | 2 +- include/block/block.h | 3 +- include/block/block_int.h | 9 ++++- qapi-schema.json | 32 +++++++++++++++++ qemu-img.c | 6 ++-- qemu-io.c | 2 +- qemu-nbd.c | 2 +- 13 files changed, 134 insertions(+), 36 deletions(-) --=20 1.8.3.2