From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Re: Mem_event API and MEM_EVENT_REASON_SINGLESTEP Date: Fri, 30 Nov 2012 22:09:23 +0200 Message-ID: <50B91273.6050606@gmail.com> References: <50B77375.9070904@gmail.com> <50B77CB8.1040606@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: AP Cc: jepstein98@gmail.com, "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org > After you set single stepping on for a VCPU and resume, you should see > a single step mem_event soon after. What is the behavior that you are > observing? Are you trying this on an UP or SMP guest? I do see single step mem_events after. I've tried it on a SMP HVM Slackware guest. What behaviour am I observing? The gla and gfn values are being printed out - but I don't know how to detect a write operation based on them. Tim Deegan has kindly suggested that I pass those values to a debugger API that I assume Xen has, but I don't think there have been any replies on that topic since. Unfortunately I don't have access to the computer I've written the test code on, and it's a rather complicated setup that I can't easily duplicate at home, so if you need specific details (gfn/gla values, etc.) I'm afraid I'll only be able to provide them on Monday. Thanks, Razvan Cojocaru