From: "Christopher Clark" Subject: Re: Grant tables from dom0 userspace? Date: Thu, 9 Mar 2006 18:10:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jacob Gorm Hansen Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hey Grant tables aren't the right interface for use from userspace, which is why tools/libxc/xc_gnttab.c was removed. You should probably just write a kernel module to do the mapping for you using grant tables and then expose a custom interface to userspace from the module to trigger the mapping as you need. Christopher On 3/9/06, Jacob Gorm Hansen wrote: > hi, > > I would like to share some pages between my domU graphics frontend > device, and the backend which runs in userspace in dom0. Right now I > am doing this with my own scheme, but presumably grant tables would be > the correct solution. > > Is it possible to use grant tables from dom0 userspace? There used to > be a file called tools/libxc/xc_gnttab.c but that seems to be gone > now. > > Jacob > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >