[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Help debugging domain builder, qemu upstream and hvmloader

  • To: Daniel Castro <evil.dani@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Wed, 27 Jul 2011 08:15:06 +0100
  • Cc:
  • Delivery-date: Wed, 27 Jul 2011 00:15:50 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcxMLOka74D4zh2hvESnCA1yTEYEwg==
  • Thread-topic: [Xen-devel] Help debugging domain builder, qemu upstream and hvmloader

On 27/07/2011 04:53, "Daniel Castro" <evil.dani@xxxxxxxxx> 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

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.