]> git.proxmox.com Git - mirror_qemu.git/commit
mirror: Add filter-node-name to blockdev-mirror
authorKevin Wolf <kwolf@redhat.com>
Mon, 20 Feb 2017 17:10:05 +0000 (18:10 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:47:50 +0000 (20:47 +0100)
commit6cdbceb12cf955398df48eda94a45ca41e956c78
treee05156a6f9381ae98cdf8f7aaca0024b45e1bca6
parenta170a91fd3eab6155da39e740381867e80bcc93e
mirror: Add filter-node-name to blockdev-mirror

Management tools need to be able to know about every node in the graph
and need a way to address them. Changing the graph structure was okay
because libvirt doesn't really manage the node level yet, but future
libvirt versions need to deal with both new and old version of qemu.

This new option to blockdev-mirror allows the client to set a node-name
for the automatically inserted filter driver, and at the same time
serves as a witness for a future libvirt that this version of qemu does
automatically insert a filter driver.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
block/mirror.c
blockdev.c
include/block/block_int.h
qapi/block-core.json