From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Help debugging domain builder, qemu upstream and hvmloader Date: Wed, 27 Jul 2011 08:15:06 +0100 Message-ID: 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: Daniel Castro , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 27/07/2011 04:53, "Daniel Castro" wrote: > Hello All, > > I run into this problem when I modify seabios. > (XEN) hvm.c:1131:d13 Triple fault on VCPU 0 - invoking HVM system reset. > > Since there is no fault handlers in the early stages of guest boot I > am in the need to debug the domain builder, upstream qemu and/or > hvmloader to see where exactly the fault is being generated. You can put 'on_reboot = preserve' in your domain config file so that the crashed domain is not automatically destroyed and restarted. Then you can use the tool xenctx to grab the register state including crashing EIP value. -- Keir > I have no experience on debugging and this seems like a good time to start. > > Any pointers, or guides anyone can provide me will be of great help. > After this I will document the process for later uses. > > PD: Xen is compiled with debugging on, so is qemu and seabios. > > Thanks, > > Daniel