From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N38ch-0003is-H3 for qemu-devel@nongnu.org; Wed, 28 Oct 2009 09:31:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N38ca-0003d0-Tc for qemu-devel@nongnu.org; Wed, 28 Oct 2009 09:31:35 -0400 Received: from [199.232.76.173] (port=43415 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N38ca-0003cm-Kh for qemu-devel@nongnu.org; Wed, 28 Oct 2009 09:31:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51852) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N38ca-0007HU-7J for qemu-devel@nongnu.org; Wed, 28 Oct 2009 09:31:28 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9SDVQK0006041 for ; Wed, 28 Oct 2009 09:31:26 -0400 Message-ID: <4AE847A8.2070606@redhat.com> Date: Wed, 28 Oct 2009 15:31:20 +0200 From: Naphtali Sprei MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Usage of qemu_error withing shared object List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , qemu-devel@nongnu.org Hi, I've added a call to qemu_error in block.c file, and got a link error on the qemu-utilities: qemu-img, qemu-nbd and qemu-io. Should there be a stub that implements a qemu_error to be linked with those apps ? Am I missing something ? In my case, I couldn't let the caller report the error (and avoid calling qemu_error in block.c) since caller don't have enough information for proper error message. Naphtali