WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] map domU pages in dom0

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] map domU pages in dom0
From: david <david_n@xxxxxx>
Date: Sat, 09 Apr 2011 16:20:31 +0200
Delivery-date: Sat, 09 Apr 2011 07:21:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D9EA390.5080907@xxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C9BE8F56.15CD4%keir.xen@xxxxxxxxx> <4D9EA390.5080907@xxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.9


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@xxxxxx> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel





_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>