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

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



Adding @xen-devel back in CC list.

On Wed, 2011-07-27 at 18:53 +0900, Daniel Castro wrote:
> > Ian Campbell once mentioned his trick to debug QEMU (following
> > paragraphs quoted from his email):
> >
> > =====================================================================
> > When I have an issue with qemu I often specify the device model in my
> > guest configuration as a script containing:
> >       echo $@ > /tmp/qemu-dm
> >       sleep 1h
> >
> > Then immediately after running "xl create" I can examine /tmp/qemu-dm
> > and run the qemu by hand in the foreground, or under gdb etc. (there is
> > a timeout in xl waiting for qemu to announce itself so you need to be
> > reasonably prompt...)
> > =====================================================================
> 
> Works perfectly, now I need to learn how to use gdb. Any good document
> comes to mind?
> 

Google helps a lot.

GDB manual is the best document I know.

Wei.


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


 


Rackspace

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