qemu-e2k/hw/intc
Markus Armbruster 84a3a53cf6 omap: Don't use hw_error() in device init() methods
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>
2016-01-13 11:58:58 +01:00
..
allwinner-a10-pic.c
apic_common.c cpu/apic: drop icc bus/bridge 2015-10-02 16:22:02 -03:00
apic.c apic_internal.h: rename ESR_ILLEGAL_ADDRESS to APIC_ESR_ILLEGAL_ADDRESS 2015-09-25 12:04:42 +02:00
arm_gic_common.c
arm_gic_kvm.c arm_gic_kvm: Disable live migration if not supported 2015-10-27 12:00:50 +00:00
arm_gic.c hw/arm_gic: Correctly restore nested irq priority 2015-11-19 12:09:52 +00:00
arm_gicv2m.c
arm_gicv3_common.c hw/intc: Implement GIC-500 base class 2015-09-24 01:29:36 +01:00
arm_gicv3_kvm.c hw/intc: Initial implementation of vGICv3 2015-09-24 01:29:37 +01:00
armv7m_nvic.c armv7-m: Implement SYSRESETREQ 2015-11-03 13:49:41 +00:00
etraxfs_pic.c
exynos4210_combiner.c
exynos4210_gic.c
gic_internal.h
grlib_irqmp.c
heathrow_pic.c
i8259_common.c
i8259.c
imx_avic.c i.MX: Standardize i.MX AVIC debug 2015-10-27 15:59:46 +00:00
ioapic_common.c hmp: added io apic dump state 2015-09-25 12:04:42 +02:00
ioapic.c kvm: x86: add support for KVM_CAP_SPLIT_IRQCHIP 2015-12-17 17:33:47 +01:00
lm32_pic.c
Makefile.objs hw/intc: Initial implementation of vGICv3 2015-09-24 01:29:37 +01:00
omap_intc.c omap: Don't use hw_error() in device init() methods 2016-01-13 11:58:58 +01:00
openpic_kvm.c openpic: add to misc category 2015-10-23 12:35:18 +11:00
openpic.c openpic: add to misc category 2015-10-23 12:35:18 +11:00
pl190.c
puv3_intc.c
realview_gic.c
s390_flic_kvm.c
s390_flic.c
sh_intc.c
slavio_intctl.c
vgic_common.h intc/gic: Extract some reusable vGIC code 2015-09-24 01:29:36 +01:00
xics_kvm.c
xics.c s/cpu_get_real_ticks/cpu_get_host_ticks/ 2015-10-08 19:46:01 +03:00
xilinx_intc.c