]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
x86/mm: drop guest_{map,get_eff}_l1e() hooks
authorJan Beulich <jbeulich@suse.com>
Tue, 9 Feb 2016 12:23:30 +0000 (13:23 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 9 Feb 2016 12:23:30 +0000 (13:23 +0100)
commit92942fd3d469adbb88fd0bd045e0ecc05d518f22
tree50b86e728ea55b2ecec28915bd56c2d592041ea5
parent86c59615f4e7f38df24182f20d9dbdec3299c514
x86/mm: drop guest_{map,get_eff}_l1e() hooks

Disallow the unmaintained and presumed broken translated-but-not-
external paging mode combination, allowing the respective paging hooks
to go away (which eliminates one pair of NULL callbacks in HAP mode).
As a result of them no longer being generic paging operations, make the
inline functions private to mm.c, dropping their struct vcpu parameters
where suitable.

The enforcement of the proper mode combination gets now done in
paging_enable(), requiring shadow_domctl() to no longer call
shadow_enable() directly.

Also as a result support for XEN_DOMCTL_SHADOW_OP_ENABLE_TRANSLATE gets
removed too.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm.c
xen/arch/x86/mm/paging.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/multi.c
xen/include/asm-x86/paging.h
xen/include/public/domctl.h