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

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> Sincerely Philipp Hahn -- Philipp Hahn Open Source Software Engineer hahn@univention.de Univention GmbH Linux for Your Business fon: +49 421 22 232- 0 Mary-Somerville-Str.1 D-28359 Bremen fax: +49 421 22 232-99 http://www.univention.de/

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@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
participants (2)
-
Eric Blake
-
Philipp Hahn