From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: Re: Using kdb debugger on Xen-4.1 Date: Tue, 17 May 2011 19:11:26 -0700 Message-ID: <20110517191126.37fbcedc@mantra.us.oracle.com> References: 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.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sergey Tovpeko Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi Sergey, Yeah, I noticed that on my prev refresh a while ago, and its sitting in my list of things to do. I hope to return to it soon and refresh my kdb branch on xen.org. thanks, Mukesh On Mon, 16 May 2011 18:01:12 +0400 Sergey Tovpeko wrote: > Hello! > > I've tried kdb on Xen 4.1 to debug hypervisor&Dom0 online and I should > say it works well. > Took kdb from http://xenbits.xen.org/ext/debuggers.hg/ > > It seems there are still one issue I run into. > > GET_PROCESSOR_ID macros defined in arch/x86/x86_64/entry.S is > out-of-date and should be updated for Xen-4.1. I mean that one uses > fixed offset to get processor_id field. > > orq $(STACK_SIZE-16),reg; \ > > > That offset has been changed in cpu_info structure in new Xen. > > I attached the patch how it should be fixed on my vision. Please, > review the one. > > Sergey.