WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Grant Tables

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Grant Tables
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=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Grant Tables, Koripella Srinivas <=