This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: RFC: Using grant table to give iomem permission

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: RFC: Using grant table to give iomem permission
From: "Lamia M. Youseff" <lyouseff@xxxxxxxxxxx>
Date: Fri, 18 May 2007 12:11:53 -0700
Delivery-date: Fri, 18 May 2007 12:10:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E1Hp33J-0006a6-QF@host-192-168-0-1-bcn-london>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E1Hp33J-0006a6-QF@host-192-168-0-1-bcn-london>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20070221)
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

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>