On Fri, Aug 10, 2007 at 11:06:02AM +0100, Richard W.M. Jones wrote: > Daniel P. Berrange wrote: > >>- I append the domain's UUID at the end of the migration image. > >> This doesn't affect KVM at all (it ignores the extra data). > >> Does that seem reasonable? It's unclear how the saved image > >> is supposed to get associated with a particular VM configuration > >> without doing something like this. > > > >Actually I'd store the entire XML config appended to the end of the image. > >Its quite possible the saved image may be restored on a different machine > >so libvirt will need the XML config there & its not much work to > >automatically > >append it all & use it when restoring later. > > How does this (or even _does_ this) work in the Xen case? Does Xen save > this info like UUID, name, etc. in the migration image? XenD stuffs the entire SEXPR config for the guest in the start of the saved image file & reads it out when restoring. So my suggestion is basically the same Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list