x86: don't build guest-walk code without HVM and SHADOW_PAGING
authorJan Beulich <jbeulich@suse.com>
Fri, 26 Oct 2018 13:16:23 +0000 (15:16 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 Oct 2018 13:16:23 +0000 (15:16 +0200)
commit9c462cea68c97029ccb13ab520721b1a2cb99ab1
tree31abec36569b7b158f3f4773eb24018e1ec4a39e
parent35cd5ba367515ffbd274ca529c5e946447f4ba48
x86: don't build guest-walk code without HVM and SHADOW_PAGING

It's dead code in that case.

We could go further, as we don't really need the 2- and 3-level walk
code in PV mode, but to drop their compilation requires quite a bit of
disentangling of shadow mode code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/mm/Makefile