From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VocWE-0008JJ-T8 for qemu-devel@nongnu.org; Thu, 05 Dec 2013 12:15:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VocW8-0000fI-V2 for qemu-devel@nongnu.org; Thu, 05 Dec 2013 12:15:18 -0500 Received: from nodalink.pck.nerim.net ([62.212.105.220]:44891 helo=paradis.irqsave.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VocW8-0000ev-LS for qemu-devel@nongnu.org; Thu, 05 Dec 2013 12:15:12 -0500 From: =?UTF-8?q?Beno=C3=AEt=20Canet?= Date: Thu, 5 Dec 2013 18:14:56 +0100 Message-Id: <1386263703-19292-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 V4 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 This partial series start to add some node-name manipulation from QMP. In particular it will allow to take snapshots of quorum files. I propose reviewing it and merging if it's ok so quorum can be enabled an= d merged and I could start enable other block filter feature while writing = next features. (Quorum file repair, crypto, multi bs block throttling) v4: s/prepare/prepare for/ [Eric] s/followings/following/ [Eric] fix option memory leak [Eric] new command to get named bs name list [Eric] * struct -> *struct [Eric/Fam] Shorter comparison [Eric] 1.8 -> 2.0 [Eric/Fam] More commments to explain authorization method [Fam] Add a don't care result to snapshot authorization method [Fam] Add #optional [Eric] Best regards Beno=C3=AEt 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 names block driver states. qmp: Allow block_resize to manipulate bs graph nodes. block: Create authorizations mechanism for external snapshots. qmp: Allow to take external snapshots on bs graphs node. block.c | 222 ++++++++++++++++++++++++++++++++++++++++= ------ block/blkverify.c | 4 +- block/iscsi.c | 2 +- block/vmdk.c | 2 +- block/vvfat.c | 4 +- blockdev.c | 84 ++++++++++++++---- hmp.c | 8 +- hw/block/xen_disk.c | 2 +- include/block/block.h | 25 ++++-- include/block/block_int.h | 21 ++++- qapi-schema.json | 43 +++++++-- qemu-img.c | 6 +- qemu-io.c | 2 +- qemu-nbd.c | 2 +- qmp-commands.hx | 36 +++++++- 15 files changed, 384 insertions(+), 79 deletions(-) --=20 1.8.3.2