All of lore.kernel.org
 help / color / mirror / Atom feed
From: david <david_n@gmx.at>
To: xen-devel@lists.xensource.com
Subject: Re: map domU pages in dom0
Date: Sat, 09 Apr 2011 16:20:31 +0200	[thread overview]
Message-ID: <4DA06B2F.7020909@gmx.at> (raw)
In-Reply-To: <4D9EA390.5080907@gmx.at>



On 04/08/2011 07:56 AM, david wrote:
> On 04/03/2011 09:55 PM, Keir Fraser wrote:
>> On 03/04/2011 20:42, "david"<david_n@gmx.at> wrote:
>>
>>> Hi there,
>>>
>>> it is possible to map memory pages from domU domains in dom0 writeable
>>> in an easy way?
>>
>> Link with libxenctrl, #include<xenctrl.h> and use one of
>> xc_map_foreign_{range,pages,bulk}(). You can find examples of their use
>> throughout the tools/ directory in xen-unstable.hg repository.
>
> Thanks for the hint, that's exactly what I'm looking for.

so, now I can map pages read/writeable ascending except the pages with 
page no. 160 to 191 (from about 131000 mapped pages). Do you have any 
idea why? Do you know where I can find a good documentation about memory 
mgmt in xen?

greets
david


>
>>
>> -- Keir
>>
>>> greets,
>>> david
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>>
>>
>>
>

      parent reply	other threads:[~2011-04-09 14:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-03 19:42 map domU pages in dom0 david
2011-04-03 19:55 ` Keir Fraser
     [not found]   ` <4D9EA390.5080907@gmx.at>
2011-04-09 14:20     ` david [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=4DA06B2F.7020909@gmx.at \
    --to=david_n@gmx.at \
    --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.