xen/gnttab: Export opt_max_{grant,maptrack}_frames
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 19 Mar 2018 15:33:32 +0000 (15:33 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 23 Jul 2018 10:11:02 +0000 (11:11 +0100)
commit890b9b8075121c8c2f99ff6135cd1581bc5cb383
tree37c123773adbe3834b843a4eaada800df61fa764
parent353d6c4903572971207067aca0c6f72cd8fc91cd
xen/gnttab: Export opt_max_{grant,maptrack}_frames

This is to facilitate the values being passed in via domain_create(), at which
point the dom0 construction code needs to know them.

While cleaning up, drop the DEFAULT_* defines, which are only used immediately
adjacent in a context which makes it obvious that they are the defaults, and
drop the (unused) logic to allow a per-arch override of
DEFAULT_MAX_NR_GRANT_FRAMES.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/common/grant_table.c
xen/include/xen/grant_table.h