This series fix the issues of V1 and add the skeletton of a new QMP command useful to communicate a bs graph to libvirt. The minimum is exposed to the management to avoid binding it too much with QEMU.
Tell me if you think it's worth implementing. Best regards Benoît 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ît] Benoît 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(-) -- 1.8.3.2