This series introduces support for direct mapping of guest resources. Mapping is currently limited to grant tables but support for other resources will be added by subsequent patches.
Paul Durrant (5): arch/[x86|arm]: remove code duplication x86/mm: allow a privileged PV domain to map guest mfns x86/mm: add HYPERVISOR_memory_op to acquire guest resources tools/libxenforeignmemory: add support for resource mapping tools/libxenctrl: use new xenforeignmemory API to seed grant table tools/include/xen-sys/Linux/privcmd.h | 11 ++ tools/libs/foreignmemory/core.c | 42 ++++++ .../libs/foreignmemory/include/xenforeignmemory.h | 39 ++++++ tools/libs/foreignmemory/libxenforeignmemory.map | 5 + tools/libs/foreignmemory/linux.c | 45 +++++++ tools/libs/foreignmemory/private.h | 30 +++++ tools/libxc/include/xc_dom.h | 8 +- tools/libxc/xc_dom_boot.c | 102 +++++++++++--- tools/libxc/xc_sr_restore_x86_hvm.c | 10 +- tools/libxc/xc_sr_restore_x86_pv.c | 2 +- tools/libxl/libxl_dom.c | 1 - tools/python/xen/lowlevel/xc/xc.c | 6 +- xen/arch/arm/mm.c | 29 +--- xen/arch/x86/mm.c | 150 +++++++++++++++++---- xen/arch/x86/mm/p2m.c | 3 +- xen/common/grant_table.c | 33 +++++ xen/include/asm-x86/p2m.h | 3 + xen/include/public/memory.h | 38 +++++- xen/include/xen/grant_table.h | 3 + 19 files changed, 467 insertions(+), 93 deletions(-) -- 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel