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(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org