[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Grant Table Issue


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "ashoka xen" <ashoka.xen@xxxxxxxxx>
  • Date: Thu, 29 May 2008 15:31:06 +0530
  • Delivery-date: Thu, 29 May 2008 03:01:30 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Bcum+Pt0cfwbY9DgTDcnXADPhM8CZPMB4eLG6em2rHWH0b/SyJso67fLhdylg8PBxMZywuhZcYv+8EdNpJ3/UrLTMqWE5PgG83mrelxkZHhZtW2a1p1HB+fnMXgV96pCT91fVwxXzym8py+iAvXag2QOBVErceQZxplBzJD1YxE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hello

I am facing a problem in using grant tables. DomU allocates a page and passes grant reference to Dom0. When Dom0 tries to map the shared page, it gives following error:

(XEN) grant_table.c:264:d0 Bad flags (1) or dom (1). (expected dom 0)

Here DomU (id 1) shared a page for read-write access and Dom0 tried to map it using GNTMAP_host_map, read-write access. CPU is x86, PAE enabled, tried Xen-3.1.3 and Xen-3.1.4. - same error for both.

If same code is written in two modules - one for DomU and other for Dom0. First a module is inserted into DomU and later other module is inserted into Dom0, the code works fine.

When searched for similar problem, I found following link:

http://lists.xensource.com/archives/html/xen-ppc-devel/2006-06/msg00234.html

Is this a similar problem ?

Regards,
Ashoka
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.