x86/shadow: l3table[] and gl3e[] are HVM only
authorJan Beulich <jbeulich@suse.com>
Tue, 21 Jul 2020 11:59:28 +0000 (13:59 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 21 Jul 2020 11:59:28 +0000 (13:59 +0200)
commitf6b78aefea557e5fd58d1c1e1e314c25c0bacaef
tree0425be1aa4a890f73937748e4771332b26e733e7
parent5fd152ea7dfbd7e83c4f398bc8d7273466b88cbb
x86/shadow: l3table[] and gl3e[] are HVM only

... by the very fact that they're 3-level specific, while PV always gets
run in 4-level mode. This requires adding some seemingly redundant
#ifdef-s - some of them will be possible to drop again once 2- and
3-level guest code doesn't get built anymore in !HVM configs, but I'm
afraid there's still quite a bit of disentangling work to be done to
make this possible.

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