qemu-e2k/hw/ide
Mao Zhongyi 794939e81d hw/ide: Convert DeviceClass init to realize
Replace init with realize in IDEDeviceClass, which has errp
as a parameter. So all the implementations now use error_setg
instead of error_report for reporting error.

Cc: John Snow <jsnow@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Max Reitz <mreitz@redhat.com>

Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: c4d27b4b5d9e37468e63e35214ce4833ca271542.1505737465.git.maozy.fnst@cn.fujitsu.com
Signed-off-by: John Snow <jsnow@redhat.com>
2017-09-18 19:43:38 -04:00
..
Makefile.objs hw: make all of hw/ide/ configurable via default-configs/ 2013-04-08 18:13:12 +02:00
ahci.c AHCI: remove DPRINTF macro 2017-09-18 19:41:11 -04:00
ahci_internal.h AHCI: Rework IRQ constants 2017-09-18 19:41:11 -04:00
atapi.c IDE: replace DEBUG_AIO with trace events 2017-09-18 15:01:26 -04:00
cmd646.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00
core.c hw/ide: Convert DeviceClass init to realize 2017-09-18 19:43:38 -04:00
ich.c ahci: split public and private interface 2017-07-18 11:47:57 -04:00
isa.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
macio.c macio: switch over to new byte-aligned DMA helpers 2016-10-27 16:29:13 -04:00
microdrive.c hw/ide/microdrive: Mark the dscm1xxxx device with user_creatable = false 2017-09-18 15:01:25 -04:00
mmio.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
pci.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00
piix.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00
qdev.c hw/ide: Convert DeviceClass init to realize 2017-09-18 19:43:38 -04:00
trace-events AHCI: pretty-print FIS to buffer instead of stderr 2017-09-18 19:41:11 -04:00
via.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00