From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54722 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PI5yj-0005gn-9I for qemu-devel@nongnu.org; Mon, 15 Nov 2010 15:48:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PI5vD-0005zS-NZ for qemu-devel@nongnu.org; Mon, 15 Nov 2010 15:45:04 -0500 Received: from mtagate7.uk.ibm.com ([194.196.100.167]:53029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PI5vD-0005xZ-Dx for qemu-devel@nongnu.org; Mon, 15 Nov 2010 15:45:03 -0500 Received: from d06nrmr1806.portsmouth.uk.ibm.com (d06nrmr1806.portsmouth.uk.ibm.com [9.149.39.193]) by mtagate7.uk.ibm.com (8.13.1/8.13.1) with ESMTP id oAFKipGH002257 for ; Mon, 15 Nov 2010 20:44:51 GMT Received: from d06av10.portsmouth.uk.ibm.com (d06av10.portsmouth.uk.ibm.com [9.149.37.251]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oAFKirgL3543288 for ; Mon, 15 Nov 2010 20:44:53 GMT Received: from d06av10.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oAFKioHJ011497 for ; Mon, 15 Nov 2010 13:44:50 -0700 Received: from stefan-thinkpad.ibm.com (sig-9-145-201-127.de.ibm.com [9.145.201.127]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id oAFKioxe011488 for ; Mon, 15 Nov 2010 13:44:50 -0700 From: Stefan Hajnoczi Date: Mon, 15 Nov 2010 20:44:34 +0000 Message-Id: <1289853878-15188-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/4] virtio: Convert fprintf() to error_report() List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The virtio hardware emulation code uses fprintf(stderr, ...) error messages. Improve things slightly by moving to error_report() so error messages will be printed to the monitor, if present. We want to handle device error states properly instead of bailing out with exit(1) but this series does not attempt to fix that yet. Leave virtio-9p for now where there are many cases of fprintf(stderr, ...) and development is still very active.