From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr8HL-0004T2-ER for qemu-devel@nongnu.org; Thu, 12 Dec 2013 10:34:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vr8HC-0004Zm-KZ for qemu-devel@nongnu.org; Thu, 12 Dec 2013 10:34:19 -0500 Received: from nodalink.pck.nerim.net ([62.212.105.220]:48615 helo=paradis.irqsave.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr8HC-0004ZF-BL for qemu-devel@nongnu.org; Thu, 12 Dec 2013 10:34:10 -0500 From: =?UTF-8?q?Beno=C3=AEt=20Canet?= Date: Thu, 12 Dec 2013 16:33:53 +0100 Message-Id: <1386862440-8003-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 V5 0/7] 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 v5: block empty node names [Kevin] factorize setting of node-name option [Kevin] NULL terminate node_name on removal [Kevin] make query-named-block-nodes return BlockDeviceInfo structure [Eric] Change some doc in query-named-block-nodes [Eric] Document the choice of the QMP API for node name [Eric] Use the same authorization as snapshot on block resize [Kevin] Rebase the series [Kevin] Beno=C3=AEt Canet (7): 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. qmp: Add a command 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.c | 210 ++++++++++++++++++++++++++++++++++++++++= +----- 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 | 48 +++++++++-- qmp-commands.hx | 78 ++++++++++++++++- 10 files changed, 471 insertions(+), 122 deletions(-) --=20 1.8.3.2