[libvirt] [BUG] qemu: snapshots no longer shown after migration^2

Eric Blake eblake at redhat.com
Mon Apr 11 21:42:16 UTC 2011


On 04/04/2011 12:08 AM, Philipp Hahn wrote:
> Hello,
> 
> when a domain is migrated to another host and than back again, snapshots of 
> this domain are no longer shown.
> I think that is because qemuDomainSnapshotLoad() is only called once from 
> qemudStartup() during startup, but not after migration (or re-definition of a 
> previously deleted domain, e.g. offline-migration)
> 
> No patch yet, but this is tracked at our German bugzilla at 
> <https://forge.univention.org/bugzilla/show_bug.cgi?id=22072>

Thanks for the report.  I'm wondering whether defining a new domain
should automatically inherit all existing snapshot files that were
already left in the file system, or even if undefining a domain should
fail if snapshots are still present, and/or add a flag to state whether
to discard snapshot files as part of undefining a domain.

It makes me wonder if migration should also be able to (optionally) move
snapshots along with with guest itself.

Certainly plenty of work to do to make snapshot handling saner.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110411/4d4b724d/attachment-0001.sig>


More information about the libvir-list mailing list