WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] mem_event: Allow memory access listener to perfo

To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] mem_event: Allow memory access listener to perform single step execution
From: Aravindh Puthiyaparambil <aravindh@xxxxxxxxxxxx>
Date: Fri, 27 May 2011 09:36:32 -0700
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 27 May 2011 18:39:13 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuata.com; s=google; h=domainkey-signature:mime-version:x-originating-ip:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=WGGZIs/X0+K/+juxYW1vBCDwlP+ySUCySvb2boO6TdE=; b=g/l2GwFnZQUR3Yk+5yj6pI+IZ4rg7RNCAnv5a0qU3TixhSes9m5l8BdzrFZdiTEGsG LuB7q2iVNpyYR4dR2ze2IuiISuoX/ANRLbI7VbzKzKLJtRpd3yIMvpcwbi+l6Efjdjka hfzgal23zb49iZ2VrwZ39fbjZjJE37jKQpLKs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=virtuata.com; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; b=AgC/c/tO3k+pRopxNJ6j7gAi94VJFKaJl2m2kpx9m/MrkubZ85XhradZG20Z1eiPcr mXFbnfktfrKsNSuzg5SC7OESqeY+f5FSY7XJGyei21xy/Tf3SiiUFJM/oqWOu3UU0v5q eormIfAVBEIHLlTqloVUu/onWbusvxJazSwYU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110527083943.GA31871@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <193b5d38ae4b5f4e6c18.1306467545@xxxxxxxxxxxxxxxxx> <20110527083943.GA31871@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

Can this be included in xen-4.1-testing.hg too so that it could make the Xen 4.1.1 cut?

Thanks,
Aravindh

On May 27, 2011 1:39 AM, "Tim Deegan" <Tim.Deegan@xxxxxxxxxx> wrote:
> At 04:39 +0100 on 27 May (1306471145), Aravindh Puthiyaparambil wrote:
>> mem_event: Allow memory access listener to perform single step execution.
>> Add a new memory event that handles single step. This allows the memory access listener to handle instructions that modify data within the execution page.
>> This can be enabled in the listener by doing:
>> xc_set_hvm_param(xch, domain_id, HVM_PARAM_MEMORY_EVENT_SINGLE_STEP, HVMPME_mode_sync)
>>
>> Now the listener can start single stepping by:
>> xc_domain_debug_control(xch, domain_id, XEN_DOMCTL_DEBUG_OP_SINGLE_STEP_ON, vcpu_id)
>>
>> And stop single stepping by:
>> xc_domain_debug_control(xch, domain_id, XEN_DOMCTL_DEBUG_OP_SINGLE_STEP_OFF, vcpu_id)
>>
>> Signed-off-by: Aravindh Puthiyaparambil <aravindh@xxxxxxxxxxxx>
>
> Acked-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
>
> --
> Tim Deegan <Tim.Deegan@xxxxxxxxxx>
> Principal Software Engineer, Xen Platform Team
> Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel