From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6QwG-0002W2-Rd for qemu-devel@nongnu.org; Thu, 23 Jan 2014 15:31:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6QwA-0004nB-KI for qemu-devel@nongnu.org; Thu, 23 Jan 2014 15:31:48 -0500 Received: from paradis.irqsave.net ([62.212.105.220]:48169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6QwA-0004mw-2N for qemu-devel@nongnu.org; Thu, 23 Jan 2014 15:31:42 -0500 From: =?UTF-8?q?Beno=C3=AEt=20Canet?= Date: Thu, 23 Jan 2014 21:31:31 +0100 Message-Id: <1390509099-695-1-git-send-email-benoit.canet@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH V6 0/8] 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, =?UTF-8?q?Beno=C3=AEt=20Canet?= , famz@redhat.com, armbru@redhat.com, mreitz@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. since v5: rename to bdrv_assign_node_name [Fam] add node-name to BlockdevOptionsBase [Kevin] add query-named-block-nodes name in commit message [Fam] make bdrv_lookup_bs interface more generic [Kevin] s/check/checks/ [Fam] s/implentation/implementation/ [Fam] use node names for references [Kevin] Beno=C3=AEt Canet (8): 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 both on command line and QMP. qmp: Add QMP query-named-block-nodes to list the named BlockDriverState nodes. qmp: Allow to change password on named block driver states. block: Create authorizations mechanism for external snapshot and resize. qmp: Allow block_resize to manipulate bs graph nodes. qmp: Allow to take external snapshots on bs graphs node. block: Use graph node name as reference in bdrv_file_open(). block.c | 214 ++++++++++++++++++++++++++++++++++++++++= ------ block/blkverify.c | 2 +- block/qapi.c | 109 +++++++++++------------ blockdev.c | 93 ++++++++++++++++---- hmp.c | 8 +- include/block/block.h | 23 +++-- include/block/block_int.h | 21 ++++- include/block/qapi.h | 1 + qapi-schema.json | 50 +++++++++-- qmp-commands.hx | 78 ++++++++++++++++- 10 files changed, 474 insertions(+), 125 deletions(-) --=20 1.8.3.2