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] capturing windows crash dumps

On Tue, 18 Aug 2009, James Harper wrote:
> > On 18/08/2009 11:42, "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
> wrote:
> > 
> > >> Could it be as simple as write the guest physical address of a
> > > pre-allocated
> > >> buffer into xenstore (from GPLPV drivers)? Then dump that area of
> > > guest
> > >> memory on guest bugcheck, even as a manual operation from dom0?
> > >
> > > The memory in question could be anything from 64kb (minidump) to the
> > > size of DomU memory (full dump) or somewhere inbetween (kernel
> dump).
> > > I'm normally just interested in the kernel dump which is normally a
> much
> > > more respectable size, but still not the size of memory you can
> easily
> > > find when the system has gone belly up.
> > 
> > Hmm, okay. Could you dump it out over the emulated serial line?
> > 
> 
> I was thinking about that. It could work, then I could just do 'xm
> console <domu> >dump' and parse the dump from there or something.
> 

Good idea, also keep in mind that qemu can emulate multiple serials if
needed.
Stubdoms support multiple serials too, so if you make the changes to add
another serial to qemu please test with stubdoms too :)


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