On 11/06/2012 04:16 AM, Jiri Denemark wrote:
Another thing I didn't notice last time :-( Is there any reason why offline
migrating a running domain should be forbidden? But even if there was a
reason, this check doesn't belong to virsh.
Good observation. I think that supporting --offline migration for a
running domain DOES make sense - migrate the persistent state only, so
that on the destination, the domain is now defined but not running, and
the running state continues on the source. There's no problem with
having a persistent definition on more than one machine (unlike with
running migration, where we must ensure that the domain is on only one
host at a time with smooth handoff between hosts).
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org