From: Avi Kivity <avi@redhat.com>
To: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>,
KVM list <kvm@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Oleg Nesterov <oleg@redhat.com>
Subject: Re: qemu core dump and filtering guest pages
Date: Wed, 23 May 2012 11:37:42 +0300 [thread overview]
Message-ID: <4FBCA1D6.1070905@redhat.com> (raw)
In-Reply-To: <4FBBFFB5.3010605@de.ibm.com>
On 05/23/2012 12:05 AM, Christian Borntraeger wrote:
> Folks,
>
> today we discussed the situation of a qemu crash (with coredump) and big guests.
> Quite often the guest pages are not needed but make the core file pretty big.
>
> The most appealing proposal that we had was to adopt the core file code in the
> kernel to have an option for discarding guest pages (e.g. /proc/sys/core_guest).
> do_corefile would have a callback into the kvm module that could use its memory
> slot infrastructure to decide if this page should be saved or not.
>
> Would you consider such a change be ok? Any better idea?
There's MADV_DONTDUMP which can be used to control this on a per-guest
basis.
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2012-05-23 8:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-22 21:05 qemu core dump and filtering guest pages Christian Borntraeger
2012-05-23 8:37 ` Avi Kivity [this message]
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=4FBCA1D6.1070905@redhat.com \
--to=avi@redhat.com \
--cc=borntraeger@de.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=oleg@redhat.com \
/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.