]> xenbits.xensource.com Git - libvirt.git/commit
qemuDomainAttachDiskGeneric: Move 'copy-on-read' handling to qemuBlockStorageSourceCh...
authorPeter Krempa <pkrempa@redhat.com>
Fri, 7 May 2021 12:50:23 +0000 (14:50 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 24 May 2021 18:38:08 +0000 (20:38 +0200)
commitc63a3ba2585bf41d051ae18c86f80bf9e7cbff96
tree47b92834139cfe2050b4322c738f2385ee6b6a39
parent0ad33f48c55cb20d441440f4454779e8b4429117
qemuDomainAttachDiskGeneric: Move 'copy-on-read' handling to qemuBlockStorageSourceChainData

Fill in the required fields in qemuBlockStorageSourceChainData to handle
the hotplug so that we can simplify the cleanup code.

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