]> xenbits.xensource.com Git - xen.git/commit
gnttab: delay allocation of sub structures
authorJuergen Gross <jgross@suse.com>
Thu, 28 Sep 2017 09:09:03 +0000 (11:09 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Sep 2017 09:09:03 +0000 (11:09 +0200)
commit2c26e65f8ae14cd48506f6c953ad12c893c134f1
tree7da53b6b2175038aa35f6cf3baf82830d545628e
parent8b46c4ffdc0671e0cda474b3b320c3823e717320
gnttab: delay allocation of sub structures

Delay the allocation of the grant table sub structures in order to
allow modifying parameters needed for sizing of these structures at a
per domain basis. Allocate the structures and the table frames only
from grant_table_init().

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/common/grant_table.c