xen/granttable: Introducing grant table V2 stucture
authorAnnie Li <annie.li@oracle.com>
Tue, 22 Nov 2011 01:58:06 +0000 (09:58 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 22 Nov 2011 14:23:44 +0000 (09:23 -0500)
commit0f9f5a9588468cddeccc9146b86798492c7cd4f5
tree2743d8d40497383c1f4edc92d3ee9ddbf42d28a9
parent3b456ae900705dda029f81a6cceed64d7f1ddfbd
xen/granttable: Introducing grant table V2 stucture

This patch introduces new structures of grant table V2, grant table V2 is an
extension from V1. Grant table is shared between guest and Xen, and Xen is
responsible to do corresponding work for grant operations, such as: figure
out guest's grant table version, perform different actions based on
different grant table version, etc. Although full-page structure of V2
is different from V1, it play the same role as V1.

Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Annie Li <annie.li@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/grant-table.c
drivers/xen/grant-table.c
include/xen/grant_table.h
include/xen/interface/grant_table.h
include/xen/interface/xen.h