From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrNNV-0006eo-DJ for qemu-devel@nongnu.org; Thu, 20 Nov 2014 03:46:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrNNO-0004mX-AJ for qemu-devel@nongnu.org; Thu, 20 Nov 2014 03:46:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrNNO-0004lh-3Q for qemu-devel@nongnu.org; Thu, 20 Nov 2014 03:46:06 -0500 Message-ID: <546DAA43.1090400@redhat.com> Date: Thu, 20 Nov 2014 09:45:55 +0100 From: Max Reitz MIME-Version: 1.0 References: <1416470936.23362.1.camel@maoLaptop.cn.ibm.com> In-Reply-To: <1416470936.23362.1.camel@maoLaptop.cn.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 RFC 4/9] qemu-iotests: fix test 039 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mao Chuan Li Cc: Kevin Wolf , Michael Mueller , Alexander Graf , qemu-devel , Christian Borntraeger , Stefan Hajnoczi , Cornelia Huck 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