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] new gnttab_end_foreign_access?

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] new gnttab_end_foreign_access?
From: NAHieu <nahieu@xxxxxxxxx>
Date: Thu, 3 Nov 2005 13:36:51 +0900
Delivery-date: Thu, 03 Nov 2005 04:33:57 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ozm7dxc3NFNT97ZyHh2M5wYn4oG8f5xc/Yc1noncXk6VfohoXGbhyb4ugLP1PKcFr9QUxJ9dUFOHykEVxL3bpCm4yfEt0pR1wN6+OM5PVa6Id37qzl9S6dqnbEXZU70G6UpuDZgW4K334i2HNYv7wesmmEQPfbDry0tyEMp0ArA=
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/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
Hi,

In grant-table API, gnttab_end_foreign_access() is used to end the
access to grant reference got from  gnttab_grant_foreign_access(domid,
mfn, readonly)

But the new gnttab_end_foreign_access(ref, page, readonly) (checked in
few days ago) required the new "page" arg. I understand that this"page
" is actually the arg "mfn" from the above gnttab_grant_foreign_access
function(), right?

If that is the case, there is only one ref corresponding to a page,
why we need this new arg?

Many thanks.
Hieu

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

<Prev in Thread] Current Thread [Next in Thread>