From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Lamia M. Youseff" Subject: Re: RFC: Using grant table to give iomem permission Date: Fri, 18 May 2007 12:11:53 -0700 Message-ID: <464DFA79.30604@cs.ucsb.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > When the hypervisor tries to do this grant in xen/common/grant_table.c > it (i) notices that it is an iomem_map rather than device_map or > host_map; (ii) it is from dom0; and (iii) it is not a RAM page. It then > attempts to call iomem_permit_access(). Hi Karen, Thanks for the patch, I find it useful... but I am wondering why you need to check it is from a dom0 ... I maybe not getting the reason, but iomem_map should be available for page sharing among all domains, shouldn't it ? Thank you, -- Lamia Youseff