]> 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)
commitef775287e73c8510cf60107e564b72af28eaf6e8
tree5638993f152d66b55eceb9b06abc486c18087b4b
parentc0202eeb9687e8b92e86aa928c01d4482920440c
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