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] HYBRID: gnttab_map() to map shared frames..

To: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>, Keir Fraser <keir.xen@xxxxxxxxx>
Subject: [Xen-devel] HYBRID: gnttab_map() to map shared frames..
From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Date: Thu, 13 Oct 2011 18:18:53 -0700
Cc:
Delivery-date: Thu, 13 Oct 2011 18:20:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Oracle Corporation
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I am trying to figure how to make gnttab_map() work for Hybrid with EPT.
The only way I am coming up is the HVM way, where I would have to get
mmio_addr via pci_resource_start() which means registering xen-platform-pci
driver. I know there will be implications later with migration, but thats 
later.

I can't think of any other way since the grant frames are coming from
xen heap and not in p2m table, other than some sort of
xen-heap-p2m-table or something ugly.

Am I on right track, or any other ideas?

thanks,
Mukesh


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