x86/shadow: SH_type_l2h_shadow is PV-only
authorJan Beulich <jbeulich@suse.com>
Mon, 12 Apr 2021 10:32:50 +0000 (12:32 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 Apr 2021 10:32:50 +0000 (12:32 +0200)
commit5eb6f827ddaaa2cf6d589fc3dc954f82ea0d4833
tree04143a7c2570c4993c28ea1d5c13b37836e77c11
parent099fcfb037477bcc2e8c4c5c8a3c5c54a95e7350
x86/shadow: SH_type_l2h_shadow is PV-only

..., i.e. being used only with 4 guest paging levels. Drop its L2/PAE
alias and adjust / drop conditionals. Use >= 4 where touching them
anyway, in preparation for 5-level paging.

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