x86/paging: introduce paging_set_allocation
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 2 Dec 2016 17:08:26 +0000 (18:08 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 2 Dec 2016 17:08:26 +0000 (18:08 +0100)
commit868b2e1024425e683a035470e0752c3d2efac0d9
tree803011a3f06cc3d69c7bf5c8605d2fe5f4efd8a2
parent7241fffcd918bce9824b9cca7f90cea1d5689062
x86/paging: introduce paging_set_allocation

... and remove hap_set_alloc_for_pvh_dom0. While there also change the last
parameter of the {hap/shadow}_set_allocation functions to be a boolean.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/domain_build.c
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/paging.c
xen/arch/x86/mm/shadow/common.c
xen/include/asm-x86/hap.h
xen/include/asm-x86/paging.h
xen/include/asm-x86/shadow.h