From: Avi Kivity <avi@redhat.com>
To: qemu-devel@nongnu.org
Cc: anderson@redhat.com
Subject: Re: [Qemu-devel] Kernel core dumps from qemu
Date: Wed, 25 Mar 2009 11:41:17 +0200 [thread overview]
Message-ID: <49C9FC3D.6010704@redhat.com> (raw)
In-Reply-To: <20090324201924.GA27406@ldl.fc.hp.com>
Chris Smith wrote:
> On Tue, Mar 24, 2009 at 08:08:38PM +0200, Avi Kivity wrote:
>
>
>> I'd suggest a 'format' argument, so we can extend this later to dump
>> in non-ELF formats (the Windows native memory dump format would be
>> useful).
>>
>
> No problem. I was thinking of something similar --
>
> (qemu) dump | winfmt > win.dmp
>
> or
>
> (qemu) dump | /usr/bin/gdbfmt > just.like.vmcore
>
> or
>
> (qemu) dump > raw.elf [normal case for crash utility]
>
> with qemu providing a dump primitive (just the data) to be dressed up
> by tools distributed with qemu, or contributed, or home grown.
>
> The | and > are just to be explicit, it could be prettier.
>
>
I suggest 'dump -filter ... blah'. I guess for larger cores this is
better than postprocessing, if it can be done without buffering all of RAM.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2009-03-25 9:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-24 16:54 [Qemu-devel] Kernel core dumps from qemu Chris Smith
2009-03-24 18:08 ` Avi Kivity
2009-03-24 20:19 ` Chris Smith
2009-03-25 9:41 ` Avi Kivity [this message]
2009-03-25 0:32 ` Paul Brook
2009-03-25 9:28 ` Avi Kivity
2009-03-25 18:02 ` Chris Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49C9FC3D.6010704@redhat.com \
--to=avi@redhat.com \
--cc=anderson@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.