xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Meng Xu <xumengpanda@gmail.com>
Cc: Sisu Xi <xisisu@gmail.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Question about the memory layout of xen hypervisor, dom0 and domU
Date: Sat, 23 Nov 2013 18:13:20 +0100	[thread overview]
Message-ID: <1385226800.21937.81.camel@Abyss> (raw)
In-Reply-To: <CAENZ-+njR0tc88LA5UYpJPrNZY+wUpeD_5hAsb0ardND8cvyUw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1252 bytes --]

On ven, 2013-11-22 at 15:04 -0500, Meng Xu wrote:
> Hi, 
> 
Hi,

> I have a question about the memory layout of the Xen hypervisor, dom0
> and domU. 
> 
> 
> *The goal I want to achieve is: 
> I want to show which RAM area is used by hypervisor, which RAM area is
> used by dom0, which RAM area is used by each domU (PV guest domain). 
> 
> I hope to know the above information when xen is booted as well as
> when xen is running some domUs. 
> 
Mmm... Where (hypervisor, dom0/domu kernel space, user space) and for
what reason you need that?

I'm asking because, at some point, I needed a _similar_ information, and
wrote this:

http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=ae763e4224304983a1cde2fbb3d6e0c4d60b2688

It's probably not exactly what you mean, but it has the capability of
showing who is using some MFNs.

The point is I only needed it for debugging/understanding purposes so,
if your aim is different, it may not fit.

Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2013-11-23 17:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-22 20:04 Question about the memory layout of xen hypervisor, dom0 and domU Meng Xu
2013-11-23 17:13 ` Dario Faggioli [this message]
2013-12-12 21:46   ` Meng Xu

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=1385226800.21937.81.camel@Abyss \
    --to=dario.faggioli@citrix.com \
    --cc=xen-devel@lists.xen.org \
    --cc=xisisu@gmail.com \
    --cc=xumengpanda@gmail.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 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).