From: Keir Fraser <keir@xensource.com>
To: "Zhai, Edwin" <edwin.zhai@intel.com>
Cc: xen-devel@lists.xensource.com, Ewan Mellor <ewan@xensource.com>
Subject: Re: memsize for HVM save/restore
Date: Tue, 27 Mar 2007 16:52:28 +0100 [thread overview]
Message-ID: <C22EFC4C.C4D6%keir@xensource.com> (raw)
In-Reply-To: <20070327154226.GA21485@edwin-srv.sh.intel.com>
On 27/3/07 16:42, "Zhai, Edwin" <edwin.zhai@intel.com> wrote:
> 2 concerns:
> 1. xc_hvm_build use SCRATCH_PFN(0xFFFFF) to map shared_info, which would
> overwrite the true max_gpfn. So shall we add check in set_p2m_entry for this?
It'll mean the minimum bitmap size is 128kB. Big deal. If we find places
where this *does* matter, I think we should add a better hypercall to
actually indicate which chunks of the physmap space are in use (e.g., return
a bitmap, with one bit per megabyte of pseudophys space -- bit set if any
page in that megabyte chunk is populated or has ever been populated).
> 2. If qemu get the memsize from XENMEM_maximum_gpfn when restore, it's better
> to
> do the same thing when create, i.e. remove the '-m' qemu command line.
I fully agree!
-- Keir
prev parent reply other threads:[~2007-03-27 15:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-24 11:37 memsize for HVM save/restore Zhai, Edwin
2007-03-24 14:18 ` 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 [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=C22EFC4C.C4D6%keir@xensource.com \
--to=keir@xensource.com \
--cc=edwin.zhai@intel.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.