Re: Allow to migrate to same host?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]