From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5fSu-0001J0-7k for qemu-devel@nongnu.org; Fri, 11 Jul 2014 14:22:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5fSp-0001Sn-37 for qemu-devel@nongnu.org; Fri, 11 Jul 2014 14:22:36 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:54842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5fSo-0001RA-St for qemu-devel@nongnu.org; Fri, 11 Jul 2014 14:22:31 -0400 Received: by mail-la0-f46.google.com with SMTP id el20so1177212lab.33 for ; Fri, 11 Jul 2014 11:22:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1405091884-29955-1-git-send-email-Joakim.Tjernlund@transmode.se> <1405091884-29955-5-git-send-email-Joakim.Tjernlund@transmode.se> From: Peter Maydell Date: Fri, 11 Jul 2014 19:22:09 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 4/4] ppc: remove excessive logging List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Joakim Tjernlund Cc: "qemu-ppc@nongnu.org" , QEMU Developers On 11 July 2014 19:15, Joakim Tjernlund wrote: > Peter Maydell wrote on 2014/07/11 19:14:25: >> On 11 July 2014 16:18, Joakim Tjernlund > wrote: >> > ppc logs every type of Invalid instruction. This generates a lot >> Rather than just deleting this EXCP_DUMP, I would suggest >> changing the EXCP_DUMP macro so it only does anything >> if the user has passed the "-d int" debug logging flag: > > I don't think ppc wants that. They want unconditionally > debug on to get relevant bug reports. This one is getting in the > way of normal operations so I think it should be deleted. If the PPC maintainers want that behaviour then they need to defend it. No other architecture's linux-user code spews junk to stderr for exceptions, and PPC shouldn't either. The debug log switches are exactly for allowing us to say "please turn on debug logging" when bugs are reported, and those are what we should use. thanks -- PMM