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

[Xen-devel] Grant Tables


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Koripella Srinivas <talkwithsrinivas@xxxxxxxxxxx>
  • Date: Tue, 26 Jun 2007 16:59:12 +0530 (IST)
  • Delivery-date: Tue, 26 Jun 2007 04:27:11 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=DVZQDYqjMdksAtQwm3cufkp5wBmR/mvHlRjFsKB3O4/Ug+np5r4MgqP2kQqnFpSkb5zv2DV9MtX/VdPzwD5sFPDxRSy2d87gEXfeNXXFSTX59EJBRYwSn4SmXQq7eg0W8Oshl7teY72kVrN8/K6oo+vjMzoBs9KWoz6O+tyFauE=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hello,

I am setting up shared memory using grant tables between two hvm guests.
In the process of doing so, the function create_grant_host_mapping( uint64_t addr, unsigned long frame, unsigned int flags) in mm.c is getting called to create a mapping at the specified virtual addr (as specified by parameter addr in the call) for the specified machine frame address (specified by parameter frame).

But when the function returns the guest physical address gets changed to point to the parameter value frame  and the machine address of the virtual address points to 0xffffffff.
Is it because this function-create_grant_host_mapping  does not work for hvm guests and i have to rewrite this function to use shadow page tables or is there some other error??

What could be the problem??


Thanks



Once upon a time there was 1 GB storage on Yahoo! Mail. Click here for happy ending!
_______________________________________________
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®.