diff options
| author | Markus Armbruster <armbru@redhat.com> | 2010-02-18 18:44:15 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2010-03-16 16:55:05 +0100 |
| commit | 8a9662ca67c7ecb6cc3d9b2055438bacbf61682e (patch) | |
| tree | 45b9872d9d11e6aaae4d1828d936e5f37a5e2451 /hw/pci.c | |
| parent | ba0fe87acd8937d403f60da63290aadb0b84827e (diff) | |
| download | focaccia-qemu-8a9662ca67c7ecb6cc3d9b2055438bacbf61682e.tar.gz focaccia-qemu-8a9662ca67c7ecb6cc3d9b2055438bacbf61682e.zip | |
error: Don't abuse qemu_error() for non-error in qdev_device_help()
qdev_device_help() prints device information with qemu_error(). A later commit will make qemu_error() print additional stuff that is only appropriate for proper errors, and then this will break. Use error_printf() instead. While there, simplify: instead of printing a buffer filled by qdev_print_devinfo() in one go, make qdev_print_devinfo() print it.
Diffstat (limited to 'hw/pci.c')
0 files changed, 0 insertions, 0 deletions