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 a partial page

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Grant a partial page
From: Daniel Castro <evil.dani@xxxxxxxxx>
Date: Thu, 10 Nov 2011 14:46:37 +0900
Delivery-date: Wed, 09 Nov 2011 21:47:26 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=PsYegPy5DjZmWE2/U5NhrXdec6ZKnFWWJIKGakfz5QE=; b=mWywMgdZBlnnH7IGPhBqb8vDmiQjTipjASIMNgNZO2QyFgbKymN1CzMEAKWlsvnw6O slK0MzJCEqJm17F1ebMXpIt8y4Z3z1afKvyb2owsGMSinWGcnzXnji0X1VkjtB07+9L/ FXiW5sj1RkQCKoOPXdXJ2ugk1Wle19gf8zSGo=
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello,
I to issue a grant on a page, but only partially.
I have a pointer to somewhere in memory and need to issue the grant
for such a pointer but not to the entire page.
I know FLAG GTF_sub_page is used for that purpose but grant_entry_v1
apparently has no fields for sub_page, should I change the code to use
Version 2 grant table entries?

Thanks,

Daniel

-- 
+-=====---------------------------+
| +---------------------------------+ | This space intentionally blank
for notetaking.
| |   | Daniel Castro,                |
| |   | Consultant/Programmer.|
| |   | U Andes                         |
+-------------------------------------+

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

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