qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/4] migration: Improve subsections detection


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH 0/4] migration: Improve subsections detection
Date: Tue, 04 Oct 2011 20:37:24 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2

On 10/04/2011 08:35 PM, Juan Quintela wrote:
Avi Kivity<address@hidden>  wrote:
>  On 10/04/2011 04:38 PM, Juan Quintela wrote:
>>  Hi
>>
>>  This series move the subsections detection code form:
>>  - Look that it starts form 5
>>  To:
>>  - Look that it starts form 5 (SUBSECTION)
>>  - Look at the length
>>  - Look that length is bigger than section name
>>  - Look at the idstr and see that it starts with the subsection name.
>>
>>  Please review.
>>
>
>  The original intent with subsections was to register them as a new
>  vmstate section, with just a name relationship.
>
>  Can we rename .subsections to .old_and_semi_broken_subsections, and
>  introduce a new .subsections field that works properly in all cases?

Not easily. We can try to do something, but the problem is that
subsection are just that "sub", and we should have to be very careful
with post-load handlers.


If necessary the subsection's post-load handler can re-run the main post-load handler (or it can even be the same post-load handler, unconditionally). We just have to make sure that post-load handlers are idempotent.

--
error compiling committee.c: too many arguments to function




reply via email to

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