Skip to contentSkip to conversation

map domU pages in dom0

DISCUSSION david 2 participants 3 messages Apr 3, 2011 – Apr 9, 2011 1 message not in the archive

lore
Share & tools
lore

david

author
#0 lore raw

Hi there,

it is possible to map memory pages from domU domains in dom0 writeable in an easy way?

greets,
david

#1 lore raw
Quoted 4 lines · david

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

Quoted 7 lines

greets,
david

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#3 lore raw
Quoted 5 lines · david
Quoted 4 lines · Keir Fraser
Quoted 2 lines · david

Hi there,

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

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

Quoted 15 lines
Quoted 14 lines

-- Keir

Quoted 7 lines

greets,
david

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel