xen: limit grant v2 interface to the v1 functionality
authorJuergen Gross <jgross@suse.com>
Thu, 2 Nov 2017 09:19:18 +0000 (10:19 +0100)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 6 Nov 2017 20:50:17 +0000 (15:50 -0500)
commit56c9c700c4399858e50971d98ac44b5842b06a87
tree5638993f152d66b55eceb9b06abc486c18087b4b
parentb988b8ff072ab04abd62d10d3fe44ec544be8a7d
xen: limit grant v2 interface to the v1 functionality

As there is currently no user for sub-page grants or transient grants
remove that functionality. This at once makes it possible to switch
from grant v2 to grant v1 without restrictions, as there is no loss of
functionality other than the limited frame number width related to
the switch.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/grant-table.c
include/xen/grant_table.h