xen: allow pv-only hypercalls only with CONFIG_XEN_PV
authorJuergen Gross <jgross@suse.com>
Thu, 28 Oct 2021 08:12:19 +0000 (10:12 +0200)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 2 Nov 2021 13:11:01 +0000 (08:11 -0500)
commitee1f9d19143257da999fcdc86eda7bd386f4907e
treebb42258dff9a294fbdca767effa451b6378a3d5d
parentd99bb72a306aae64364013a6dcf6f0b86c992181
xen: allow pv-only hypercalls only with CONFIG_XEN_PV

Put the definitions of the hypercalls usable only by pv guests inside
CONFIG_XEN_PV sections.

On Arm two dummy functions related to pv hypercalls can be removed.

While at it remove the no longer supported tmem hypercall definition.

Signed-off-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20211028081221.2475-3-jgross@suse.com
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/arm/xen/enlighten.c
arch/arm/xen/hypercall.S
arch/arm64/xen/hypercall.S
arch/x86/include/asm/xen/hypercall.h
include/xen/arm/hypercall.h