x86/mm: pagetable_dying() is HVM-only
authorJan Beulich <jbeulich@suse.com>
Tue, 21 Apr 2020 08:59:43 +0000 (10:59 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 21 Apr 2020 08:59:43 +0000 (10:59 +0200)
commit2fb2dee1ac6288349a8a8320cde739df4f0e379f
tree93e2d8f039448c063be15cf6ba078048a14b4726
parent8b8d011ad868df38afae6282103087556beaa1f9
x86/mm: pagetable_dying() is HVM-only

Its only caller lives in HVM-only code.

This involves wider changes, in order to limit #ifdef-ary: Shadow's
SHOPT_FAST_EMULATION and the fields used by it get constrained to HVM
builds as well. Additionally the shadow_{init,continue}_emulation()
stubs for the !HVM case aren't needed anymore and hence get dropped.

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