All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Levon <levon@movementarian.org>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: save/restore race
Date: Tue, 23 Jan 2007 22:48:56 +0000	[thread overview]
Message-ID: <20070123224856.GA25347@totally.trollied.org.uk> (raw)
In-Reply-To: <8A87A9A84C201449A0C56B728ACF491E04F284@liverpoolst.ad.cl.cam.ac.uk>

On Tue, Jan 23, 2007 at 10:15:29PM -0000, Ian Pratt wrote:

> Just ignore any new suspend request until you've got the frame list list
> rebuilt.

see xc_linux_save.c:

 667     live_p2m_frame_list_list =
 668         xc_map_foreign_range(xc_handle, dom, PAGE_SIZE, PROT_READ,
 669 live_shinfo->arch.pfn_to_mfn_frame_list_list);

...

1087                 if (suspend_and_state(suspend, xc_handle, io_fd, dom, &info,
1088                                       &ctxt)) {
1089                     ERROR("Domain appears not to have suspended");
1090                     goto out;
1091                 }

We use the value long before the domain is told to suspend.

regards
john

  reply	other threads:[~2007-01-23 22:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-23 22:01 save/restore race John Levon
2007-01-23 22:15 ` Ian Pratt
2007-01-23 22:48   ` John Levon [this message]
2007-01-23 23:38     ` Ian Pratt
2007-01-24  2:10       ` John Levon
2007-01-24  2:19         ` Ian Pratt
2007-01-24  3:13           ` [PATCH] " John Levon
2007-01-24 10:07             ` Steven Hand
2007-02-06 15:04             ` Srikanth SM
2007-02-06 15:13               ` John Levon

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=20070123224856.GA25347@totally.trollied.org.uk \
    --to=levon@movementarian.org \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.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.