]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: hotplug: Prepare for blockdev-add/blockdev-del with backing chains
authorPeter Krempa <pkrempa@redhat.com>
Fri, 13 Jul 2018 12:48:59 +0000 (14:48 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Aug 2018 13:46:06 +0000 (15:46 +0200)
commit6d5468adc4c960945a95206654949c144c5c4b09
tree145bbc1372b00ea22d8124bb5dffeee980f2ef7c
parentadf85f4791e4ebf7b44ff39fce1323488bc98eef
qemu: hotplug: Prepare for blockdev-add/blockdev-del with backing chains

Initialize data for the whole backing chain when plugging in or removing
disks when a machine supports -blockdev.

Similarly to startup we need to prepare the structures for the whole
backing chain and take care of the copy-on-read feature.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_hotplug.c