[libvirt] Allow to migrate to same host?
Daniel P. Berrange
berrange at redhat.com
Tue Aug 9 10:00:38 UTC 2011
On Tue, Aug 09, 2011 at 05:46:37PM +0800, Osier Yang wrote:
> The request is from a PhD stdudent in France, he is developing some
> distributed system based on libvirt, before deploying the codes to real
> instances, he want to test it on his own box first.
>
> Libvirt checks if it's migrating to same host by comparing the hostname,
> I'm wondering if we can add some flag to switch the checking on/off,
> (probally a new property in qemu.conf?), so that one can test the migration
> on same host just for development purpose.
It isn't as simple as just removing the check, because libvirt also
checks other things like name+uuid uniqueness for the VMs. Also you
run the risk of deadlocking libvirtd itself
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