From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Re: [PATCH v2 2/2] vm_event: consolidate hvm_event_fill_regs and p2m_vm_event_fill_regs Date: Fri, 12 Feb 2016 08:57:02 +0200 Message-ID: <56BD823E.5090601@bitdefender.com> References: <1455236525-14866-1-git-send-email-tlengyel@novetta.com> <1455236525-14866-2-git-send-email-tlengyel@novetta.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 1aU7f8-0004vc-7y for xen-devel@lists.xenproject.org; Fri, 12 Feb 2016 06:57:06 +0000 Received: from smtp02.buh.bitdefender.net (unknown [10.17.80.76]) by mx-sr.buh.bitdefender.com (Postfix) with ESMTP id EE8A37FBDD for ; Fri, 12 Feb 2016 08:57:02 +0200 (EET) In-Reply-To: <1455236525-14866-2-git-send-email-tlengyel@novetta.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tamas K Lengyel , xen-devel@lists.xenproject.org Cc: George Dunlap , Andrew Cooper , Keir Fraser , Jan Beulich List-Id: xen-devel@lists.xenproject.org On 02/12/2016 02:22 AM, Tamas K Lengyel wrote: > Currently the registers saved in the request depend on which type of event > is filling in the registers. In this patch we consolidate the two versions > of register filling function as to return a fix set of registers irrespective > of the underlying event. > > Signed-off-by: Tamas K Lengyel > Cc: Razvan Cojocaru > Cc: Keir Fraser > Cc: Jan Beulich > Cc: Andrew Cooper > Cc: George Dunlap > --- > v2: get dr7 from hvm context > --- > xen/arch/x86/hvm/event.c | 35 ++----------------------- > xen/arch/x86/mm/p2m.c | 57 +--------------------------------------- > xen/arch/x86/vm_event.c | 59 ++++++++++++++++++++++++++++++++++++++++++ > xen/include/asm-x86/vm_event.h | 2 ++ > 4 files changed, 64 insertions(+), 89 deletions(-) Acked-by: Razvan Cojocaru Thanks, Razvan