xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Aravindh Puthiyaparambil <aravindh@virtuata.com>
To: Tim Deegan <Tim.Deegan@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] mem_event: Allow memory access listener to perform single step execution
Date: Fri, 27 May 2011 09:36:32 -0700	[thread overview]
Message-ID: <BANLkTinycxFpscdxS+C57=QhPjbuP184CQ@mail.gmail.com> (raw)
In-Reply-To: <20110527083943.GA31871@whitby.uk.xensource.com>


[-- Attachment #1.1: Type: text/plain, Size: 1153 bytes --]

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)

[-- Attachment #1.2: Type: text/html, Size: 1599 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

  reply	other threads:[~2011-05-27 16:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-27  3:39 [PATCH] mem_event: Allow memory access listener to perform single step execution Aravindh Puthiyaparambil
2011-05-27  8:39 ` Tim Deegan
2011-05-27 16:36   ` Aravindh Puthiyaparambil [this message]
2011-05-28  7:53     ` Keir Fraser
2011-05-28 17:48       ` Aravindh Puthiyaparambil
2011-05-28 21:41         ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTinycxFpscdxS+C57=QhPjbuP184CQ@mail.gmail.com' \
    --to=aravindh@virtuata.com \
    --cc=Tim.Deegan@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).