|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH RFC 0/2] Make mem_access APIs and hypercalls generic
This is a precusor patch to the one that enables mem_access for PV domains.
The mem_access APIs, hypercalls and structures all have HVM specific naming. As
a first step to making this work for PV domains, this patch renames them in a
more
generic fashion.
Signed-off-by: Aravindh Puthiyaparambil <aravindp@xxxxxxxxx>
Cc: Keir Fraser <keir@xxxxxxx>
Cc: Jan Beulich <jbeulich@xxxxxxxx>
Cc: Tim Deegan <tim@xxxxxxx>
Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
The main reason for the RFC is that I am not sure if I am doing the hypercall
preemption continuation correctly. Please take a look and let me know how I
should proceed.
Thanks,
Aravindh
x86/mem_access: Make the mem_access ops generic
tools/libxc: Make the mem_access APIs generic
tools/libxc/xc_mem_access.c | 57 ++++++++++++++++++++++++++++---
tools/libxc/xc_misc.c | 60 +++++----------------------------
tools/libxc/xenctrl.h | 18 ++++++++++
xen/arch/x86/hvm/hvm.c | 73 ++--------------------------------------
xen/arch/x86/mm/mem_access.c | 68 +++++++++++++++++++++++++++++++++++--
xen/arch/x86/mm/mem_event.c | 3 --
xen/arch/x86/mm/p2m.c | 34 +++++++++----------
xen/arch/x86/x86_64/compat/mm.c | 7 +++-
xen/arch/x86/x86_64/mm.c | 7 +++-
xen/include/asm-x86/mem_access.h | 2 +-
xen/include/asm-x86/p2m.h | 6 ++--
xen/include/public/hvm/hvm_op.h | 50 +++++++++++++--------------
xen/include/public/memory.h | 53 +++++++++++++++++++++++++++--
13 files changed, 251 insertions(+), 187 deletions(-)
--
1.8.3.2
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |