From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmQlZ-0007D5-Dc for qemu-devel@nongnu.org; Mon, 19 May 2014 12:50:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmQlQ-0008Q5-8v for qemu-devel@nongnu.org; Mon, 19 May 2014 12:50:21 -0400 Received: from mail-qg0-x22a.google.com ([2607:f8b0:400d:c04::22a]:57692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmQlQ-0008Pv-5R for qemu-devel@nongnu.org; Mon, 19 May 2014 12:50:12 -0400 Received: by mail-qg0-f42.google.com with SMTP id q107so9400779qgd.29 for ; Mon, 19 May 2014 09:50:11 -0700 (PDT) Sender: Richard Henderson Message-ID: <537A363E.309@twiddle.net> Date: Mon, 19 May 2014 09:50:06 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1400367823-32610-1-git-send-email-marc.mari.barcelo@gmail.com> <1400367823-32610-4-git-send-email-marc.mari.barcelo@gmail.com> <20140519184526.00364e81@crunchbang> In-Reply-To: <20140519184526.00364e81@crunchbang> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v3 03/16] s390: Convert debug printfs to QEMU_DPRINTF List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?TWFyYyBNYXLDrQ==?= , Peter Crosthwaite Cc: Stefan Hajnoczi , Overall , Alexander Graf , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , "qemu-devel@nongnu.org Developers" On 05/19/2014 09:45 AM, Marc MarĂ­ wrote: >> > This STDOUT vs _log() choice is a bit irregular, and I think you might >> > be better off abandoning it completely. Richard, Alex, do we really >> > need to optionally route printfery to log or stderr? (considering _log >> > is NOW stderr by default now, and -D option gives you some flexibility >> > there). Can we have just log and drop STDOUT mode? >> > >> > Regards, >> > Peter > QEMU_DPRINTF outputs to stderr, and, as you say qemu_log does it too. > Should QEMU_DPRINTF be removed and leave only qemu_log? Yes, I think that all debug output like this should go via qemu_log. r~