Re: [RFC] live migration of VMs with internal snapshots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/26/2016 07:54 AM, Dmitry Mishin wrote:
>> Hmm. Interesting. But what I'm talking about doesn't involve qemu much.
>> We create
>> an external temporarily delta for images with internal snapshots on
>> libvirt side,
>> then merge it on libvirt side thus, qemu shouldn't be affected at all as
>> far as I
>> understand.
> 
> Right now, we are trying the following workaround of this issue:
> 1) create external snapshot (without metadata)
> 2) undefine internal snapshots' metadata (because libvirt prohibits
> migration if detects snapshots)
> 3) copy metadata & backing file (primary data qcow2 file with internal
> snapshots) to the destination
> 4) migrate VM using libvirt
> 5) define metadata back
> 6) block-commit - to merge delta to original qcow2 image.

Yes, that looks like a reasonable workaround.

> 
> Things would be much simpler, if they were in libvirt rather than in
> management app on top of it.

It would indeed be easier - but someone has to contribute the patches
for it.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]