From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aravindh Puthiyaparambil Subject: Re: [PATCH] mem_event: Allow memory access listener to perform single step execution Date: Fri, 27 May 2011 09:36:32 -0700 Message-ID: References: <193b5d38ae4b5f4e6c18.1306467545@kale.virtuata.com> <20110527083943.GA31871@whitby.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0951608668==" Return-path: In-Reply-To: <20110527083943.GA31871@whitby.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============0951608668== Content-Type: multipart/alternative; boundary=bcaec521635b601a5c04a4448a66 --bcaec521635b601a5c04a4448a66 Content-Type: text/plain; charset=ISO-8859-1 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" 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 > > Acked-by: Tim Deegan > > -- > Tim Deegan > Principal Software Engineer, Xen Platform Team > Citrix Systems UK Ltd. (Company #02937203, SL9 0BG) --bcaec521635b601a5c04a4448a66 Content-Type: text/html; charset=ISO-8859-1

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@citrix.com> 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@virtuata.com>
>
> Acked-by: Tim Deegan <Tim.Deegan@citrix.com>
>
> --
> Tim Deegan <Tim.Deegan@citrix.com>
> Principal Software Engineer, Xen Platform Team
> Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)
--bcaec521635b601a5c04a4448a66-- --===============0951608668== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0951608668==--