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

To: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>, "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: [Xen-devel] Re: HYBRID: gnttab_map() to map shared frames..
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Fri, 14 Oct 2011 08:50:33 +0100
Cc:
Delivery-date: Fri, 14 Oct 2011 00:52:27 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=fI+Bi46HCpuGQbDAPLrouamfAudwEwV/Tze0kI1CBe4=; b=ec08l27talSP2wpYzQK7WYbz3tVpsMVD21jywmtwE/+kjFHe6YD+LiwtexZlYrmEUQ 2kROxoEqELLfeWjWR6/+DqmcprkkOaTW/T40dP/v3mUyALNMb0ENYOFIHRbbZzC+MZEf rCLVmuotlp1sDZtpbfhm3IXnUT2zaVtw9pfbU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20111013181853.15381ef5@xxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcyKRfOHhniqDUYpukW543arLtJpng==
Thread-topic: HYBRID: gnttab_map() to map shared frames..
User-agent: Microsoft-Entourage/12.30.0.110427
If you are running without autotranslate paging mode then the p2m will be
1:1 and there is no problem. If you are running autotranslate then yes you
probably need the HVM style of mapping.

 -- Keir

On 14/10/2011 02:18, "Mukesh Rathor" <mukesh.rathor@xxxxxxxxxx> wrote:

> 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