From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCYWv-00083P-JO for qemu-devel@nongnu.org; Thu, 22 Aug 2013 13:18:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCYWp-0004qO-JD for qemu-devel@nongnu.org; Thu, 22 Aug 2013 13:18:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCYWp-0004qA-Ak for qemu-devel@nongnu.org; Thu, 22 Aug 2013 13:18:35 -0400 Message-ID: <1377191908.1888.69.camel@localhost.localdomain> From: Marcel Apfelbaum Date: Thu, 22 Aug 2013 20:18:28 +0300 In-Reply-To: <52162F6D.7070605@redhat.com> References: <1377175700-16229-1-git-send-email-marcel.a@redhat.com> <5216197C.2060509@suse.de> <878uztstin.fsf@blackfin.pond.sub.org> <52162F6D.7070605@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH ] qemu-help: add category headlines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: aliguori@us.ibm.com, mst@redhat.com, qemu-devel@nongnu.org, Markus Armbruster , pbonzini@redhat.com, Andreas =?ISO-8859-1?Q?F=E4rber?= On Thu, 2013-08-22 at 09:34 -0600, Eric Blake wrote: > On 08/22/2013 08:13 AM, Markus Armbruster wrote: > > >>> +++ b/qdev-monitor.c > >>> @@ -156,6 +156,8 @@ static void qdev_print_category_devices(DeviceCategory category) > >>> DeviceClass *dc; > >>> GSList *list, *curr; > >>> > >>> + error_printf("%s devices:\n", qdev_category_get_name(category)); > >> > >> Why is that an error? Shouldn't it go to stdout? > > > > Output of -device help has always gone to stderr, and that has always > > annoyed me. Just not enough to fix it. > > Back when libvirt scraped -help output, changing it to use stdout would > be an incompatible change. But now that libvirt uses QMP, I would also > welcome a change to use stdout (but also fall in the category of "not > enough of a bother for ME to fix it). It really bothers me. I need to use the help (being new to qemu ...) and I am always forgetting "2>&1". Anyone can think of a reason for not sending the help to stdout? Marcel >