Hi, I am trying to export a memory page of dom0 to a domU in readonly mode. In dom0, I grant access permission to that domU. In domU, I did HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, map, res->nr_pages); All these functions returned successfully. But when I tried to access data in the mapped memory page, all data I got is 0. Is there any restriction that preventing dom0 pages from being export to other domains? If so, is there any way to relax this restriction? xin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 9 Jun 2006, at 09:47, Xin Zhao wrote:> I am trying to export a memory page of dom0 to a domU in readonly > mode. In dom0, I grant access permission to that domU. In domU, I did > HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, map, res->nr_pages); > > All these functions returned successfully. But when I tried to access > data in the mapped memory page, all data I got is 0. > Is there any restriction that preventing dom0 pages from being export > to other domains? If so, is there any way to relax this restriction?No, there are no such restrictions. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Possibly Parallel Threads
- Bug in use of grant tables in blkback.c error path?
- [PATCH] xen/grant-table: Refactor gnttab_[un]map_refs to avoid m2p_override
- [PATCH] xen/grant-table: Refactor gnttab_[un]map_refs to avoid m2p_override
- [PATCH 0001/001] xen: multi page ring support for block devices
- [PATCH 0001/001] xen: multi page ring support for block devices