]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
x86/shadow: drop stray name tags from sh_{guest_get,map}_eff_l1e()
authorJan Beulich <jbeulich@suse.com>
Wed, 21 Oct 2015 08:56:31 +0000 (10:56 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 21 Oct 2015 08:56:31 +0000 (10:56 +0200)
commit5a3ce8f85e7e7bdd339d259daa19f6bc5cb4735f
tree041cef7738669c4db8b2ee57cbf4b978e8572b4a
parent0ce86773a460d4c116bdcd1b10e37bcafbfb6920
x86/shadow: drop stray name tags from sh_{guest_get,map}_eff_l1e()

They (as a now being removed comment validly says) depend only on Xen's
number of page table levels, and hence their tags didn't serve any
useful purpose (there could only ever be one instance in a single
binary, even back in the x86-32 days).

Further conditionalize the inclusion of PV-specific hook pointers, at
once making sure that PV guests can't ever get other than 4-level mode
enabled for them.

For consistency reasons shadow_{write,cmpxchg}_guest_entry() also get
moved next to the other PV-only actors, allowing them to become static
just like the $subject ones do.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/multi.c
xen/arch/x86/mm/shadow/multi.h
xen/arch/x86/mm/shadow/private.h
xen/arch/x86/mm/shadow/types.h