From: "Jan Beulich" <JBeulich@suse.com>
To: "Aravindh Puthiyaparambil (aravindp)" <aravindp@cisco.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: Max gpfn for PV guests
Date: Mon, 11 Nov 2013 09:48:10 +0000 [thread overview]
Message-ID: <5280B5EA0200007800101ADF@nat28.tlf.novell.com> (raw)
In-Reply-To: <97A500D504438F4ABC02EBA81613CC63316F2482@xmb-aln-x02.cisco.com>
>>> On 08.11.13 at 21:58, "Aravindh Puthiyaparambil (aravindp)"
<aravindp@cisco.com> wrote:
> I am trying to find out the max pgfn for a 256MB PV guest. If I call
> xc_domain_getinfolist() and look at xc_domaininfo->max_pages, I get 0x10100. If
> I call xc_domain_getinfo() and look at xc_dominfo->nr_pages, I get 0x10000.
> Within the hypervisor if I call domain_get_maximum_gpfn(), I get 0xffff. So
> it looks like xc_domain_getinfo() is returning the correct value. Why is
> xc_domain_getinfolist() returning a different value? Which value should I be
> looking at for the max gpfn?
I'm afraid none of these - since PV guests control the P2M mapping
themselves, there simply is no "max GPFN" being tracked here. (The
value returned by domain_get_maximum_gpfn() originates from the
shared info structure, i.e. again is only valid if the guest cares to
maintain that field.)
Jan
next prev parent reply other threads:[~2013-11-11 9:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-08 20:58 Max gpfn for PV guests Aravindh Puthiyaparambil (aravindp)
2013-11-11 9:48 ` Jan Beulich [this message]
2013-11-11 16:42 ` Aravindh Puthiyaparambil (aravindp)
2013-11-11 16:47 ` Jan Beulich
2013-11-14 13:22 ` 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=5280B5EA0200007800101ADF@nat28.tlf.novell.com \
--to=jbeulich@suse.com \
--cc=aravindp@cisco.com \
--cc=xen-devel@lists.xenproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).