* [Qemu-devel] Usage of qemu_error withing shared object
@ 2009-10-28 13:31 Naphtali Sprei
2009-10-28 14:02 ` [Qemu-devel] " Gerd Hoffmann
0 siblings, 1 reply; 2+ messages in thread
From: Naphtali Sprei @ 2009-10-28 13:31 UTC (permalink / raw)
To: Gerd Hoffmann, qemu-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Qemu-devel] Re: Usage of qemu_error withing shared object
2009-10-28 13:31 [Qemu-devel] Usage of qemu_error withing shared object Naphtali Sprei
@ 2009-10-28 14:02 ` Gerd Hoffmann
0 siblings, 0 replies; 2+ messages in thread
From: Gerd Hoffmann @ 2009-10-28 14:02 UTC (permalink / raw)
To: Naphtali Sprei; +Cc: qemu-devel
On 10/28/09 14:31, Naphtali Sprei wrote:
> 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 ?
There was no need yet ...
A simple qemu_error() implementation for the tools which writes to
stderr unconditionally should do the trick.
cheers,
Gerd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-28 14:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-28 13:31 [Qemu-devel] Usage of qemu_error withing shared object Naphtali Sprei
2009-10-28 14:02 ` [Qemu-devel] " Gerd Hoffmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).