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

Re: [Xen-devel] Grant a partial page

To: Daniel Castro <evil.dani@xxxxxxxxx>
Subject: Re: [Xen-devel] Grant a partial page
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Thu, 10 Nov 2011 17:22:08 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 10 Nov 2011 14:23:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAP2B85-NrwhELRMpndhq3vzxqEuZRjsZi3C6bJ6ze3q=Dfu=aA@xxxxxxxxxxxxxx>
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>
References: <CAP2B85-NrwhELRMpndhq3vzxqEuZRjsZi3C6bJ6ze3q=Dfu=aA@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Nov 10, 2011 at 02:46:37PM +0900, Daniel Castro wrote:
> 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?

Well, there is no implementation for V2 grants yet. Thought Annie just posted
a version.

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

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