This patch serie originates from "Disable domctl-op via CONFIG_MGMT_HYPERCALLS"
[1], and focuses on consolidating vm event subsystem (i.e. VM_EVENT), and its
derived features, like memory paging, etc.
[1] https://www.mail-archive.com/xen-devel@lists.xenproject.org/msg200843.html
Penny Zheng (7):
xen/x86: move declaration from mem_access.h to altp2m.h
xen/xsm: wrap xsm_vm_event_control() with CONFIG_VM_EVENT
x86/vm_event: introduce vm_event_is_enabled()
x86/monitor: wrap monitor_op under CONFIG_VM_EVENT
xen/p2m: move xenmem_access_to_p2m_access() to common p2m.c
xen/mem_access: wrap memory access when VM_EVENT=n
xen/vm_event: consolidate CONFIG_VM_EVENT
xen/arch/x86/Makefile | 2 +-
xen/arch/x86/hvm/Kconfig | 1 -
xen/arch/x86/hvm/Makefile | 4 +-
xen/arch/x86/hvm/emulate.c | 67 ++++++++++++------------
xen/arch/x86/hvm/hvm.c | 49 +++++++++++++++---
xen/arch/x86/hvm/svm/intr.c | 2 +-
xen/arch/x86/hvm/svm/svm.c | 54 ++++++++++++--------
xen/arch/x86/hvm/vmx/intr.c | 2 +-
xen/arch/x86/hvm/vmx/vmx.c | 73 ++++++++++++++++++---------
xen/arch/x86/include/asm/altp2m.h | 10 ++++
xen/arch/x86/include/asm/hvm/hvm.h | 18 ++++---
xen/arch/x86/include/asm/mem_access.h | 20 ++++----
xen/arch/x86/include/asm/monitor.h | 9 ++++
xen/arch/x86/include/asm/vm_event.h | 5 ++
xen/arch/x86/mm/mem_access.c | 36 -------------
xen/arch/x86/mm/mem_sharing.c | 3 ++
xen/arch/x86/mm/p2m.c | 40 +++++++++++++++
xen/common/Kconfig | 7 +--
xen/include/xen/mem_access.h | 5 --
xen/include/xen/p2m-common.h | 3 ++
xen/include/xen/vm_event.h | 7 +++
xen/include/xsm/dummy.h | 2 +-
xen/include/xsm/xsm.h | 4 +-
xen/xsm/dummy.c | 2 +-
xen/xsm/flask/hooks.c | 4 +-
25 files changed, 270 insertions(+), 159 deletions(-)
--
2.34.1