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/svm: limit the scope of "rc"
xen/vm_event: introduce vm_event_is_enabled()
xen/monitor: wrap monitor_op under CONFIG_VM_EVENT
xen/p2m: move xenmem_access_to_p2m_access() to common p2m.c
xen/x86: move declaration from mem_access.h to altp2m.h
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 | 123 ++++++++++++++++----------
xen/arch/x86/hvm/svm/intr.c | 2 +-
xen/arch/x86/hvm/svm/svm.c | 82 +++++++++++------
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 | 8 ++
xen/arch/x86/mm/mem_access.c | 36 --------
xen/arch/x86/mm/mem_sharing.c | 3 +
xen/arch/x86/mm/p2m.c | 38 ++++++++
xen/common/Kconfig | 7 +-
xen/include/xen/vm_event.h | 7 ++
19 files changed, 319 insertions(+), 193 deletions(-)
--
2.34.1