WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

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

<Prev in Thread] Current Thread [Next in Thread>