qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH] fix broken migration


From: Glauber Costa
Subject: [Qemu-devel] Re: [PATCH] fix broken migration
Date: Mon, 27 Jul 2009 17:18:55 -0300
User-agent: Jack Bauer

On Mon, Jul 27, 2009 at 09:31:43PM +0200, Paolo Bonzini wrote:
> On 07/27/2009 08:02 PM, Glauber Costa wrote:
>> If I pass --incoming to the VM, I don't expect the VM to start. I expect it
>> to wait, because I'll be handling it a migration later. However, it does 
>> start,
>> which is clearly wrong.
>
> I see now, thanks.  I was puzzled by your message, so to speak.
>
> I suppose the best semantics would be to do like
>
>    if (autostart && !incoming)
>        vm_start ()
>
> in vl.c and add
>
>    if (autostart)
>        vm_start ()
>
> in the migration-*.c files.
I don't disagree. This is even more explicit about the meaning of each of
the flags.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]