[libvirt] [PATCH V6] support offline migration

Daniel P. Berrange berrange at redhat.com
Tue Sep 11 14:33:01 UTC 2012


On Tue, Sep 11, 2012 at 10:20:19AM +0800, liguang wrote:
> original migration did not aware of offline case
> so, add code to support offline migration quietly
> (did not disturb original migration) by pass
> VIR_MIGRATE_OFFLINE flag to migration APIs if the
> domain is really inactive, and
> migration process will not puzzeled by domain
> offline and exit unexpectly.
> these changes did not take care of disk images the
> domain required, for disk images could be transfered
> by other APIs as suggested.
> so, the migration result is just make domain
> definition alive at target side.

I'm not entirely happy with the semantics wrt to the PERSIST_DEST
flag - this is basically doing persistence without having the
flag specified.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list