|
From: | Max Reitz |
Subject: | Re: [Qemu-devel] [PATCH v1 RFC 4/9] qemu-iotests: fix test 039 |
Date: | Thu, 20 Nov 2014 09:45:55 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |