]> xenbits.xensource.com Git - xen.git/commit
xen: remove tmem from hypervisor
authorWei Liu <wei.liu2@citrix.com>
Wed, 28 Nov 2018 12:13:15 +0000 (12:13 +0000)
committerWei Liu <wei.liu2@citrix.com>
Mon, 13 May 2019 10:28:27 +0000 (11:28 +0100)
commitc492e19fdd05273417a1b116a90b26587738810c
tree8420ca430dfb8bebb381735badd2b27e9d0486ec
parentc588c002cc19d74f7aea0792608d57e4aa22604a
xen: remove tmem from hypervisor

This patch removes all tmem related code and CONFIG_TMEM from the
hypervisor. Also remove tmem hypercalls from the default XSM policy.

It is written as if tmem is disabled and tmem freeable pages is 0.

We will need to keep public/tmem.h around forever to avoid breaking
guests.  Remove the hypervisor only part and put guest visible part
under a xen version check. Take the chance to remove trailing
whitespaces.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
36 files changed:
MAINTAINERS
tools/flask/policy/modules/dom0.te
tools/flask/policy/modules/guest_features.te
xen/arch/arm/configs/tiny64.conf
xen/arch/x86/configs/pvshim_defconfig
xen/arch/x86/guest/hypercall_page.S
xen/arch/x86/hvm/hypercall.c
xen/arch/x86/hypercall.c
xen/arch/x86/pv/hypercall.c
xen/arch/x86/setup.c
xen/common/Kconfig
xen/common/Makefile
xen/common/compat/tmem_xen.c [deleted file]
xen/common/domain.c
xen/common/lzo.c
xen/common/memory.c
xen/common/page_alloc.c
xen/common/sysctl.c
xen/common/tmem.c [deleted file]
xen/common/tmem_control.c [deleted file]
xen/common/tmem_xen.c [deleted file]
xen/include/Makefile
xen/include/public/sysctl.h
xen/include/public/tmem.h
xen/include/xen/hypercall.h
xen/include/xen/mm.h
xen/include/xen/sched.h
xen/include/xen/tmem.h [deleted file]
xen/include/xen/tmem_control.h [deleted file]
xen/include/xen/tmem_xen.h [deleted file]
xen/include/xlat.lst
xen/include/xsm/dummy.h
xen/include/xsm/xsm.h
xen/xsm/dummy.c
xen/xsm/flask/hooks.c
xen/xsm/flask/policy/access_vectors