• M
    error: Don't abuse qemu_error() for non-error in qdev_device_help() · 8a9662ca
    Markus Armbruster 提交于
    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.
    8a9662ca
qdev.c 20.2 KB