All of lore.kernel.org
 help / color / mirror / Atom feed
From: Glauber de Oliveira Costa <gcosta@redhat.com>
To: Jun Koi <junkoi2004@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH/RFC] Implement the memory_map hypercall
Date: Fri, 24 Nov 2006 12:57:34 -0200	[thread overview]
Message-ID: <20061124145734.GE7171@redhat.com> (raw)
In-Reply-To: <fdaac4d50611240636q51b96237h75b5ca500364d0d6@mail.gmail.com>

On Fri, Nov 24, 2006 at 11:36:36PM +0900, Jun Koi wrote:
> Glauber, what is this hypercall for? To map hypervisor memory from Dom0?

This hypercall (already declared, but currently always returning ENOSYS)
is meant to give a guest (any guest) the idea on how should this
physical memory mapping look like.

Currently, linux guest kernels checks for the result of such a call, and
stabilish a memory mapping on their own if it returns ENOSYS. However,
such mapping is not proving itself to be the most suitable one,
specially in a long term.

That said, when you boot a 300mb guest, instead of:

BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000013400000 (usable)

You'd see your RAM mapping being extended to whatever value 
is set in  d->memory_map_limit ( or even for some reason, in the future,
a differently organized map)


-- 
Glauber de Oliveira Costa
Red Hat Inc.
"Free as in Freedom"

      reply	other threads:[~2006-11-24 14:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-24 14:08 [PATCH/RFC] Implement the memory_map hypercall Glauber de Oliveira Costa
2006-11-24 14:36 ` Jun Koi
2006-11-24 14:57   ` Glauber de Oliveira Costa [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=20061124145734.GE7171@redhat.com \
    --to=gcosta@redhat.com \
    --cc=junkoi2004@gmail.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.