All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juan Quintela <quintela@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Igor Mitsyanko <i.mitsyanko@samsung.com>,
	qemu-devel@nongnu.org, patches@linaro.org
Subject: Re: [Qemu-devel] [PATCH] vmstate: Add support for saving/loading bitmaps
Date: Mon, 13 Aug 2012 13:12:53 +0200	[thread overview]
Message-ID: <87boifxcy2.fsf@elfo.mitica> (raw)
In-Reply-To: <1344513263-22971-1-git-send-email-peter.maydell@linaro.org> (Peter Maydell's message of "Thu, 9 Aug 2012 12:54:23 +0100")

Peter Maydell <peter.maydell@linaro.org> wrote:
> Add support for saving/loading bitmap.h bitmaps in vmstate.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> This will be needed for saving/restoring the bitmap in sd.c which
> is introduced by Igor's latest patchset; the relevant VMSTATE line is:
>         VMSTATE_BITMAP(wp_groups, SDState, 1, wpgrps_size),
> (and you'll need to make wpgrps_size an int32_t, not uint32_t).
>
> Igor: I've only tested this fairly lightly, you'll probably want to
> do things like testing save on 32 bit and load on 64 bit and
> vice-versa.
>
>  savevm.c  |   41 +++++++++++++++++++++++++++++++++++++++++
>  vmstate.h |   13 +++++++++++++
>  2 files changed, 54 insertions(+)

Reviewed-by: Juan Quintela <quintela@redhat.com>

I haven't tested it, but Igor did, so O;-)

I can add it to my next pull request, or let it on Igor one that is the
one using it.  Both ways work for me.

      parent reply	other threads:[~2012-08-13 11:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-09 11:54 [Qemu-devel] [PATCH] vmstate: Add support for saving/loading bitmaps Peter Maydell
2012-08-10 16:22 ` Igor Mitsyanko
2012-08-10 16:30   ` Peter Maydell
2012-08-10 16:35     ` Igor Mitsyanko
2012-08-13 11:12 ` Juan Quintela [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=87boifxcy2.fsf@elfo.mitica \
    --to=quintela@redhat.com \
    --cc=i.mitsyanko@samsung.com \
    --cc=patches@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /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.