From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aravindh Puthiyaparambil Subject: [PATCH RFC 0/2] Make mem_access APIs and hypercalls generic Date: Tue, 8 Apr 2014 22:50:05 -0700 Message-ID: <1397022607-1704-1-git-send-email-aravindp@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WXlPQ-0002dJ-TN for xen-devel@lists.xenproject.org; Wed, 09 Apr 2014 05:50:53 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Keir Fraser , Ian Campbell , Stefano Stabellini , Ian Jackson , Tim Deegan , Jan Beulich List-Id: xen-devel@lists.xenproject.org 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 Cc: Keir Fraser Cc: Jan Beulich Cc: Tim Deegan Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell --- 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