* map domU pages in dom0
@ 2011-04-03 19:42 david
2011-04-03 19:55 ` Keir Fraser
0 siblings, 1 reply; 3+ messages in thread
From: david @ 2011-04-03 19:42 UTC (permalink / raw)
To: xen-devel
Hi there,
it is possible to map memory pages from domU domains in dom0 writeable
in an easy way?
greets,
david
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: map domU pages in dom0
2011-04-03 19:42 map domU pages in dom0 david
@ 2011-04-03 19:55 ` Keir Fraser
[not found] ` <4D9EA390.5080907@gmx.at>
0 siblings, 1 reply; 3+ messages in thread
From: Keir Fraser @ 2011-04-03 19:55 UTC (permalink / raw)
To: david, xen-devel
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.
-- Keir
> greets,
> david
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: map domU pages in dom0
[not found] ` <4D9EA390.5080907@gmx.at>
@ 2011-04-09 14:20 ` david
0 siblings, 0 replies; 3+ messages in thread
From: david @ 2011-04-09 14:20 UTC (permalink / raw)
To: xen-devel
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
>>
>>
>>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-04-09 14:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).