|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Sharing a page between Dom0 and DomU
I want to share a page between Dom0 and DomU, As per my understanding steps should be as follows:-\ 1)DomU get a page 2)DomU created a grant access reference and transmit the reference id to
Dom0 3)Dom0 maps the page and do the memory acces 4)Dom0 unmap the page In Dom0 we can map the page through following:- uint32_t domid = ...; uint32_t ref = ...; int xcg = xc_gnttab_open();
void *my_addr = xc_gnttab_map_grant_ref(xcg, dom_id, ref, PROT_READ | PROT_WRITE); How to grant the access to Dom0 from user space. Regards, Anurag Tripathi
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] Sharing a page between Dom0 and DomU,
anurag tripathi <=
|
|
|
|
|