[libvirt] [PATCHv3 18/43] snapshot: prevent migration from stranding snapshot data

Eric Blake eblake at redhat.com
Tue Aug 30 21:33:14 UTC 2011


On 08/24/2011 09:22 AM, Eric Blake wrote:
> Migration is another case of stranding metadata.  And since
> snapshot metadata is arbitrarily large, there's no way to
> shoehorn it into the migration cookie of migration v3.
>
> * src/qemu/qemu_driver.c (qemudDomainMigratePerform)
> (qemuDomainMigrateBegin3, qemuDomainMigratePerform3): Add
> restriction.

Yuck.  I just noticed that this patch adds a migration restriction in 
qemu_driver, but we already have migration restriction in _two_ other 
places in qemu_migration.c.  I'll refactor this to put all migration 
restrictions into a single site, under qemuMigrationIsAllowed, to cut 
down on the duplication.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list