[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4FBCA1D6.1070905@redhat.com>
Date: Wed, 23 May 2012 11:37:42 +0300
From: Avi Kivity <avi@...hat.com>
To: Christian Borntraeger <borntraeger@...ibm.com>
CC: Marcelo Tosatti <mtosatti@...hat.com>,
KVM list <kvm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Oleg Nesterov <oleg@...hat.com>
Subject: Re: qemu core dump and filtering guest pages
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists