All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zhai, Edwin" <edwin.zhai@intel.com>
To: Keir <Keir.Fraser@cl.cam.ac.uk>, Ewan Mellor <ewan@xensource.com>
Cc: xen-devel@lists.xensource.com
Subject: memsize for HVM save/restore
Date: Sat, 24 Mar 2007 19:37:21 +0800	[thread overview]
Message-ID: <20070324113720.GX21485@edwin-srv.sh.intel.com> (raw)


As you know, HVM save/restore broke recently because restored config miss guest 
memsize that used by xc_hvm_restore to locate some pfn.

After discussion, we decided to remove the pfn deduction logic from restore side 
by adding a general memory layout. I have a patch for it.

But then qemu broke, because it also require the memsize to locate the share 
page. We can't use the previous method, as it requires a lot of changes in qemu.

The memsize in xmconfig file is only used at the beginning of create, then
lost when runing and restore. we have memory_{dynamic,static}_{max,min} for 
keeping mem config, but all of them are useless in this case.

I have witnessed the fluctuation of memsize config: first as 'memory', then 
'memory_static_min', now disappear. 

Guest memsize is an important parameter, so it should be constantly kept in an 
fixed config entry just like others(vcpus...). Am I right?

-- 
best rgds,
edwin

             reply	other threads:[~2007-03-24 11:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-24 11:37 Zhai, Edwin [this message]
2007-03-24 14:18 ` memsize for HVM save/restore Keir Fraser
2007-03-26  3:13   ` Zhai, Edwin
2007-03-26 18:31     ` Keir Fraser
2007-03-27 15:42       ` Zhai, Edwin
2007-03-27 15:52         ` Keir Fraser

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=20070324113720.GX21485@edwin-srv.sh.intel.com \
    --to=edwin.zhai@intel.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --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.