Re: [libvirt] [PATCH 6/6] restore correctly the state of the VM upon migration

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

 



On Wed, Oct 07, 2009 at 03:14:18PM +0200, Paolo Bonzini wrote:
> On 10/07/2009 03:03 PM, Daniel Veillard wrote:
>>   NACK ! an error in migration should not result in a dead daemon
>> assert/exit forbidden even in error handling paths.
>
> I have no problem removing the assertion, however notice that I added it  
> simply to match
>
>     vm->state = migrateFrom ? VIR_DOMAIN_PAUSED : VIR_DOMAIN_RUNNING;
>
> in qemudStartVMDaemon.  It is not an error handling path.

  Okay, but still, we should not call exit even if something might be
slightly broken :-)

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

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