All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zhai, Edwin" <edwin.zhai@intel.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Tim <Tim.Deegan@xensource.com>, Ewan Mellor <ewan@xensource.com>,
	xen-devel@lists.xensource.com, "Zhai,
	Edwin" <edwin.zhai@intel.com>
Subject: Re: HVM save/restore issue
Date: Tue, 20 Mar 2007 16:46:52 +0800	[thread overview]
Message-ID: <20070320084652.GK21485@edwin-srv.sh.intel.com> (raw)
In-Reply-To: <C2254BEA.4A20%Keir.Fraser@cl.cam.ac.uk>

On Tue, Mar 20, 2007 at 08:29:30AM +0000, Keir Fraser wrote:
> On 20/3/07 08:12, "Zhai, Edwin" <edwin.zhai@intel.com> wrote:
> 
> > latest HVM save/restore break again:(
> > 
> > i use the memsize(the number in the xmexample.hvm) deduced from
> > 'memory_static_min' to calculate some HVM PFNs when restore.
> 
> Out of interest: why would you do this? I glanced upon the code you are
> referring to in xc_hvm_restore.c yesterday, and it struck me as particularly
> gross. All three PFNs (ioreq, bufioreq, xenstore) could be saved in the
> store after building the domain and then saved/restored as part of the
> Python-saved data. The situation is easier than for a PV guest because PFNs

save all PFNs directly is good idea. i have this code to keep create and restore 
process similar.
i'd like directly save/restore all pfns in xc_hvm_{save,restore}. is this your 
want?


> do not change across save/restore.
> 
> The more assumptions about memory layout we bake into xc_hvm_{save,restore}
> now, the more we have to unbake when the HVM memory map becomes more dynamic
> (balloon driver support, in particular). Making these assumptions to some
> extent for now is okay, but we should avoid it where possible.
> 
>  -- Keir
> 

-- 
best rgds,
edwin

  reply	other threads:[~2007-03-20  8:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20  8:12 HVM save/restore issue Zhai, Edwin
2007-03-20  8:29 ` Keir Fraser
2007-03-20  8:46   ` Zhai, Edwin [this message]
2007-03-20  9:20     ` Keir Fraser
2007-03-20 10:01     ` Keir Fraser
2007-03-20 12:25       ` Zhai, Edwin
2007-03-20 10:04   ` Tim Deegan
  -- strict thread matches above, loose matches on Subject: below --
2007-03-15  7:48 Zhai, Edwin
2007-03-15 10:02 ` Tim Deegan
2007-03-16  5:45   ` Zhai, Edwin
2007-03-16  9:58     ` Tim Deegan

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=20070320084652.GK21485@edwin-srv.sh.intel.com \
    --to=edwin.zhai@intel.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=Tim.Deegan@xensource.com \
    --cc=ewan@xensource.com \
    --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.