From: Aravindh Puthiyaparambil Subject: [PATCH v2 0/3] Make mem_access APIs and hypercalls generic Date: Mon, 14 Apr 2014 15:02:42 -0700 Message-ID: <1397512965-17325-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.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WZoxz-00089t-UQ for xen-devel@lists.xenproject.org; Mon, 14 Apr 2014 22:03:04 +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 x86/mem_access: Make the mem_access ops generic tools/libxc: Make the mem_access APIs generic tools/xen-access: Use the new mem_access APIs tools/libxc/xc_mem_access.c | 54 ++++++++++++++++++++++++--- tools/libxc/xc_misc.c | 61 ------------------------------- tools/libxc/xenctrl.h | 32 ++++++++-------- tools/tests/xen-access/xen-access.c | 34 ++++++++--------- xen/arch/x86/hvm/hvm.c | 73 +------------------------------------ xen/arch/x86/mm.c | 6 ++- xen/arch/x86/mm/mem_access.c | 71 ++++++++++++++++++++++++++++++++++-- xen/arch/x86/mm/mem_event.c | 3 -- xen/arch/x86/mm/p2m.c | 31 +++++++++------- xen/arch/x86/x86_64/compat/mm.c | 16 +++++--- xen/arch/x86/x86_64/mm.c | 11 +++++- xen/common/compat/memory.c | 2 + xen/common/memory.c | 2 +- xen/include/asm-x86/mem_access.h | 3 +- xen/include/asm-x86/mm.h | 6 +-- xen/include/asm-x86/p2m.h | 6 +-- xen/include/public/hvm/hvm_op.h | 42 +-------------------- xen/include/public/memory.h | 53 +++++++++++++++++++++++++-- xen/include/xlat.lst | 1 + 19 files changed, 255 insertions(+), 252 deletions(-) -- 1.8.3.2