x86: mem-access is HVM-only
authorJan Beulich <jbeulich@suse.com>
Mon, 19 Apr 2021 13:28:00 +0000 (15:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 19 Apr 2021 13:28:00 +0000 (15:28 +0200)
commit99192701e34e2e82276289efe4fd450fb91a703b
tree88d1c97e3570cd944138c5ea94dc259723daf55e
parent17eaf4429cb86fe0795b38293891cc05e56ce177
x86: mem-access is HVM-only

By excluding the file from being built for !HVM, #ifdef-ary can be
removed from it.

The new HVM dependency on the Kconfig option is benign for Arm.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
Reviewed-by: Alexandru Isaila <aisaila@bitdefender.com>
xen/arch/x86/Kconfig
xen/arch/x86/mm/mem_access.c
xen/arch/x86/vm_event.c
xen/common/Kconfig