On 2014-11-20 at 09:08, Mao Chuan Li wrote:
The intention is to disable the core dump, if there is another way we
can achieve that, switching to root is not necessary. Any other
alternative way? Thanks!
Mao Chuan Li
Hi,
I cannot think of a way; on the other hand, I don't think disabling the
core dump is necessary either. Simply filtering out '(core dumped) ' is
not pretty but still suffices for me (we can put that into a filter
function in common.filter and if other people see other messages for a
core dump, they can expand that list).
If we really want to disable core dumps, we should change qemu-io not to
use abort() on -c abort (raise(SIGKILL) seems like a good alternative to
me); or, alternatively, introduce a new command 'kill' which then does
raise(SIGKILL) so we don't have to break compatibility.
Max