x86/altp2m: Fix build with !CONFIG_HVM
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 28 Feb 2019 12:49:13 +0000 (12:49 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 28 Feb 2019 13:25:30 +0000 (13:25 +0000)
commitd0bd9d67b497fa49e9bb82fd8007cc1bb3b9d5ba
tree668b2213598b5470e044625cd7d2555f0fbe62be
parent1c8ca185e3c6e003398471edd9dbac0cd118137c
x86/altp2m: Fix build with !CONFIG_HVM

c/s 0ec9b4ef3148 "x86/vmx: Fix security issue when a guest balloons out the #VE
info page" introduced a caller of altp2m_vcpu_disable_ve() in a common path,
but c/s e72ecc761541 "x86/altp2m: Rework #VE enable/disable paths" didn't have
a suitable prototype in the !CONFIG_HVM case.

Introduce one to fix the build.

Spotted by Travis.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/include/asm-x86/altp2m.h