From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aravindh Puthiyaparambil Subject: [PATCH v3 0/5] Make mem_access APIs and hypercalls generic Date: Tue, 15 Apr 2014 17:25:21 -0700 Message-ID: <1397607926-15298-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.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WaDfV-0004IL-Ps for xen-devel@lists.xenproject.org; Wed, 16 Apr 2014 00:25:38 +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: Remove xc_hvm_[sg]et_mem_access() APIs x86/mem_access: Deprecate the HVM mem_access ops 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 | 74 +----------------------------------- xen/arch/x86/mm.c | 6 ++- xen/arch/x86/mm/mem_access.c | 75 ++++++++++++++++++++++++++++++++++--- 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, 256 insertions(+), 256 deletions(-) -- 1.8.3.2