]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67a2c89fa7d2e53712eb3f6e5c99e9f8360bdaf6
tree5638993f152d66b55eceb9b06abc486c18087b4b
parentccfdf959d57f58e299b486d5aa1f2e9cbda352bd
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