Re: [PATCH/RFC] Introduce VIR_MIGRATE_FORCE flag to allow for risky migration

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

 



On Fri, Oct 21, 2011 at 08:16:24PM +0200, Guido Günther wrote:
> Hi,
> Migration will be disallowed when the vm uses host devices or has
> snapshots (qemuMigrationIsAllowed)[1]. Would it make sense to introduce
> a VIR_MIGRATE_FORCE similar to VIR_REVERT_FORCE here?  We could then
> introduce error codes similar to the snapshot case
> (VIR_ERR_MIGRATE_RISKY).

I'm not sure this will actually work out in practice because QEMU
itself also checks some of these scenarios and blocks them. So even
if libvirt didn't check, the user still wouldnt' be able to force
it to migrate.

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]