Mailing List Archive

[PATCH V4 0/3] xen: patches for supporting sub-page and transitive grants
Hi

Following patches introduce and implement interfaces for sub-page and transitive grants, and they are based on linux-next branch of linux/kernel/git/konrad/xen.git(3.2.0-rc2+). Sub-page and transitive grants are new types of grant table V2.

Descriptions for those patches:

Through sub-page grant table interfaces, a domain can grant another domain access to a range of bytes within a page, and Xen will then prevent the grantee domain accessing outside that range. For obvious reasons, it isn't possible to map these grant references, and domains are expected to use the grant copy hypercall instead.

Through transitive grant interfaces, a domain can create grant reference which redirects to another grant reference, so that any attempt to access the first grant reference will be redirected to the second one. This is used to implement receiver-side copy on inter-domain traffic: rather than copying the packet in dom0, dom0 creates a transitive grant referencing the original transmit buffer, and passes that to the receiving domain.

Annie Li (3):
xen/granttable: Improve comments for function pointers
xen/granttable: Support sub-page grants
xen/granttable: Support transitive grants

drivers/xen/grant-table.c | 190 +++++++++++++++++++++++++++++++++++++++------
include/xen/grant_table.h | 25 ++++++
2 files changed, 191 insertions(+), 24 deletions(-)

Thanks,
Annie.
--
1.7.6.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: [PATCH V4 0/3] xen: patches for supporting sub-page and transitive grants [ In reply to ]
On Mon, Dec 12, 2011 at 06:13:12PM +0800, annie.li@oracle.com wrote:
> Hi
>
> Following patches introduce and implement interfaces for sub-page and transitive grants, and they are based on linux-next branch of linux/kernel/git/konrad/xen.git(3.2.0-rc2+). Sub-page and transitive grants are new types of grant table V2.
>
> Descriptions for those patches:
>
> Through sub-page grant table interfaces, a domain can grant another domain access to a range of bytes within a page, and Xen will then prevent the grantee domain accessing outside that range. For obvious reasons, it isn't possible to map these grant references, and domains are expected to use the grant copy hypercall instead.
>
> Through transitive grant interfaces, a domain can create grant reference which redirects to another grant reference, so that any attempt to access the first grant reference will be redirected to the second one. This is used to implement receiver-side copy on inter-domain traffic: rather than copying the packet in dom0, dom0 creates a transitive grant referencing the original transmit buffer, and passes that to the receiving domain.
>

Applied.

> Annie Li (3):
> xen/granttable: Improve comments for function pointers
> xen/granttable: Support sub-page grants
> xen/granttable: Support transitive grants
>
> drivers/xen/grant-table.c | 190 +++++++++++++++++++++++++++++++++++++++------
> include/xen/grant_table.h | 25 ++++++
> 2 files changed, 191 insertions(+), 24 deletions(-)
>
> Thanks,
> Annie.
> --
> 1.7.6.4

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