mirror of https://github.com/proxmox/mirror_qemu
![]() Device init() methods aren't supposed to call hw_error(), they should report the error and fail cleanly. Do that. The errors are all device misconfiguration. All callers use qdev_init_nofail(), so this patch merely converts hw_error() crashes into &error_abort crashes. Improvement, because now it crashes closer to where the misconfiguration bug would be, and a few more bad examples of hw_error() use are gone. Cc: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Markus Armbruster <armbru@pond.sub.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <1450370121-5768-3-git-send-email-armbru@redhat.com> |
||
---|---|---|
.. | ||
Makefile.objs | ||
imx_gpio.c | ||
max7310.c | ||
mpc8xxx.c | ||
omap_gpio.c | ||
pl061.c | ||
puv3_gpio.c | ||
zaurus.c |