From: Keir Fraser Subject: Re: grant table issue Date: Fri, 9 Jun 2006 10:02:51 +0100 Message-ID: <60413c8028edccea9397b4a00d82e6a2@cl.cam.ac.uk> References: <448935A0.3020203@eecs.umich.edu> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <448935A0.3020203@eecs.umich.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xin Zhao Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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