[libvirt] [PATCH 04/10] qemu: hotplug: Prepare for multiple backing chain member hotplug

Ján Tomko jtomko at redhat.com
Wed Jul 18 15:28:15 UTC 2018


On Tue, Jul 17, 2018 at 02:14:24PM +0200, Peter Krempa wrote:
>Similarly to how we've intergrated data belonging to a single
>virStorageSource for purposes of attaching it to a qemu instance we will
>need to agregate data relevant for the whole disk. With blockdev there
>will be some disk-wide backing chain members such as the copy-on-read
>handler.
>
>Introduce qemuHotplugDiskSourceData which agregates the backing chain
>and other data relevant for the disk and functions which generate it
>and apply and rollback it.
>
>In addition to disk hotplug this will also be reused for media changing
>where we need to exchange the full disk backend.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_hotplug.c | 118 ++++++++++++++++++++++++++++++++++++++++++++----
> 1 file changed, 109 insertions(+), 9 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180718/731ca698/attachment-0001.sig>


More information about the libvir-list mailing list