Skip to contentSkip to conversation

memory shared between vms

DISCUSSION songzhonglei 2 participants 2 messages May 6, 2009 1 message not in the archive

lore
Share & tools
lore

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

#1 lore raw

i want to access a page (which is in other guest,such as hvm)in kernel space of domain 0 ,and i can get the gfn of this page. what will i do? i know in dom0's user space i can use xc_map_foreign_range()(libxc) to map this page to dom0,and then i can access it. but in kernel space,i can not use this function.

2009-05-06

songzhonglei

#2 lore raw
Quoted 5 lines

i want to access a page (which is in other guest,such as hvm)in kernel space of domain 0 ,and i can get the gfn of this page. what will i do? i know in dom0's user space i can use xc_map_foreign_range()(libxc) to map this page to dom0,and then i can access it. but in kernel space,i can not use this function.

You may have a look at
http://lists.xensource.com/archives/html/xen-devel/2008-10/msg00237.html

Dietmar.