From: Mukesh Rathor Subject: HYBRID: gnttab_map() to map shared frames.. Date: Thu, 13 Oct 2011 18:18:53 -0700 Message-ID: <20111013181853.15381ef5@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Xen-devel@lists.xensource.com" , Ian Campbell , Keir Fraser List-Id: xen-devel@lists.xenproject.org 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