All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: quintela@redhat.com
Cc: pbonzini@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/4] migration: Improve subsections detection
Date: Tue, 04 Oct 2011 20:37:24 +0200	[thread overview]
Message-ID: <4E8B5264.5030305@redhat.com> (raw)
In-Reply-To: <m3k48kbo6j.fsf@trasno.mitica>

On 10/04/2011 08:35 PM, Juan Quintela wrote:
> Avi Kivity<avi@redhat.com>  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	other threads:[~2011-10-04 18:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-04 14:38 [Qemu-devel] [PATCH 0/4] migration: Improve subsections detection Juan Quintela
2011-10-04 14:38 ` [Qemu-devel] [PATCH 1/4] savevm: teach qemu_fill_buffer to do partial refills Juan Quintela
2011-10-05 19:41   ` Anthony Liguori
2011-10-04 14:38 ` [Qemu-devel] [PATCH 2/4] savevm: some coding style cleanups Juan Quintela
2011-10-05 19:41   ` Anthony Liguori
2011-10-04 14:38 ` [Qemu-devel] [PATCH 3/4] savevm: improve subsections detection on load Juan Quintela
2011-10-05 19:45   ` Anthony Liguori
2011-10-06  8:38     ` Paolo Bonzini
2011-10-04 14:38 ` [Qemu-devel] [PATCH 4/4] Revert "savevm: fix corruption in vmstate_subsection_load()." Juan Quintela
2011-10-05 19:46   ` Anthony Liguori
2011-10-04 15:12 ` [Qemu-devel] [PATCH 0/4] migration: Improve subsections detection Paolo Bonzini
2011-10-04 18:20 ` Avi Kivity
2011-10-04 18:22   ` Anthony Liguori
2011-10-04 18:28     ` Avi Kivity
2011-10-04 18:35   ` Juan Quintela
2011-10-04 18:37     ` Avi Kivity [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E8B5264.5030305@redhat.com \
    --to=avi@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.