qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 4/7] runstate: migration allows more transitions


From: Juan Quintela
Subject: Re: [Qemu-devel] [PATCH 4/7] runstate: migration allows more transitions now
Date: Wed, 15 Oct 2014 17:50:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Eric Blake <address@hidden> wrote:
> On 10/15/2014 01:55 AM, Juan Quintela wrote:
>> Next commit would allow to move from incoming migration to error
>> happening on source.
>> 
>> Should we add more states to this transition?  Luiz?
>
> Does this mean we can finally do S3 migration without forcing the guest
> to wake up from S3 on the destination?

I haven't tested, but it should just work (famous last words).

Would test.

Later, Juan.

>
>> 
>> Signed-off-by: Juan Quintela <address@hidden>
>> ---
>>  vl.c | 2 ++
>>  1 file changed, 2 insertions(+)
>> 
>> diff --git a/vl.c b/vl.c
>> index c4bc43c..1788b6a 100644
>> --- a/vl.c
>> +++ b/vl.c
>> @@ -618,6 +618,8 @@ static const RunStateTransition 
>> runstate_transitions_def[] = {
>> 
>>      { RUN_STATE_INMIGRATE, RUN_STATE_RUNNING },
>>      { RUN_STATE_INMIGRATE, RUN_STATE_PAUSED },
>> +    { RUN_STATE_INMIGRATE, RUN_STATE_INTERNAL_ERROR },
>> +    { RUN_STATE_INMIGRATE, RUN_STATE_IO_ERROR },
>> 
>>      { RUN_STATE_INTERNAL_ERROR, RUN_STATE_PAUSED },
>>      { RUN_STATE_INTERNAL_ERROR, RUN_STATE_FINISH_MIGRATE },
>> 



reply via email to

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