xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] Make mem_access APIs and hypercalls generic
@ 2014-04-09  5:50 Aravindh Puthiyaparambil
  2014-04-09  5:50 ` [PATCH RFC 1/2] x86/mem_access: Make the mem_access ops generic Aravindh Puthiyaparambil
  2014-04-09  5:50 ` [PATCH RFC 2/2] tools/libxc: Make the mem_access APIs generic Aravindh Puthiyaparambil
  0 siblings, 2 replies; 11+ messages in thread
From: Aravindh Puthiyaparambil @ 2014-04-09  5:50 UTC (permalink / raw)
  To: xen-devel
  Cc: Keir Fraser, Ian Campbell, Stefano Stabellini, Ian Jackson,
	Tim Deegan, Jan Beulich

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@cisco.com>
Cc: Keir Fraser <keir@xen.org>
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Tim Deegan <tim@xen.org>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>

---

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-04-10  6:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-09  5:50 [PATCH RFC 0/2] Make mem_access APIs and hypercalls generic Aravindh Puthiyaparambil
2014-04-09  5:50 ` [PATCH RFC 1/2] x86/mem_access: Make the mem_access ops generic Aravindh Puthiyaparambil
2014-04-09  8:53   ` Jan Beulich
2014-04-10  0:39     ` Aravindh Puthiyaparambil (aravindp)
2014-04-10  6:17       ` Jan Beulich
2014-04-09  5:50 ` [PATCH RFC 2/2] tools/libxc: Make the mem_access APIs generic Aravindh Puthiyaparambil
2014-04-09  8:23   ` Ian Campbell
2014-04-09  8:58     ` Jan Beulich
2014-04-09  9:06       ` Ian Campbell
2014-04-10  0:43         ` Aravindh Puthiyaparambil (aravindp)
2014-04-10  0:43     ` Aravindh Puthiyaparambil (aravindp)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).