From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54970 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ORMiZ-0003ZX-Hy for qemu-devel@nongnu.org; Wed, 23 Jun 2010 05:58:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ORMiY-0003ks-BB for qemu-devel@nongnu.org; Wed, 23 Jun 2010 05:58:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47289) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORMiY-0003km-45 for qemu-devel@nongnu.org; Wed, 23 Jun 2010 05:58:02 -0400 From: Markus Armbruster Subject: Re: [Qemu-devel] [PATCH v4 14/23] monitor: return length of printed string via monitor_[v]printf References: <8d6e93c675a14b41c9dddb8e7071c3aa6f44291a.1276641524.git.jan.kiszka@web.de> Date: Wed, 23 Jun 2010 11:57:58 +0200 In-Reply-To: <8d6e93c675a14b41c9dddb8e7071c3aa6f44291a.1276641524.git.jan.kiszka@web.de> (Jan Kiszka's message of "Wed, 16 Jun 2010 00:38:38 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Anthony Liguori , Juan Quintela , Jan Kiszka , qemu-devel@nongnu.org, Luiz Capitulino , Blue Swirl , Avi Kivity Jan Kiszka writes: > From: Jan Kiszka > > This simply forwards the result of the internal vsnprintf to the callers > of monitor_printf and monitor_vprintf. When invoked over a QMP session > or in absence of an active monitor, -1 is returned. > > Signed-off-by: Jan Kiszka Permits fixing the TODOs in qemu-error.c. Feel free to leave that to me.