error: Don't abuse qemu_error() for non-error in qbus_find()
commit53db16b5b056e7b38384014c1bce75116ed27044
authorMarkus Armbruster <armbru@redhat.com>
Thu, 18 Feb 2010 17:55:59 +0000 (18 18:55 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 16 Mar 2010 15:55:05 +0000 (16 16:55 +0100)
tree87057a2e81b9621012b8560b437d0fd928c476fb
parent8a9662ca67c7ecb6cc3d9b2055438bacbf61682e
error: Don't abuse qemu_error() for non-error in qbus_find()

qbus_find() adds an informational line to error messages, and prints
both lines with one qemu_error().  Use error_printf() for the
informational line instead.

While there, simplify: instead of printing buffers filled by
qbus_list_bus() and qbus_list_dev() in one go, make them print it.
hw/qdev.c