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
..
2016-10-04 13:28:07 +01:00
2016-10-04 13:28:09 +01:00
2017-01-27 18:07:59 +01:00
2017-01-24 23:26:52 +03:00
2017-09-08 09:30:55 +10:00
2017-09-08 16:15:17 +03:00
2017-06-23 11:51:50 +02:00
2017-09-07 13:54:53 +01:00
2016-05-18 15:04:27 +03:00
2017-06-20 14:31:32 +02:00
2013-04-08 18:13:10 +02:00
2017-09-08 16:15:17 +03:00
2017-09-15 10:29:48 +10:00
2017-02-28 17:10:00 +00:00
2017-01-27 18:07:59 +01:00
2017-01-27 18:07:59 +01:00
2017-04-24 12:32:12 +01:00
2017-06-01 18:49:22 +02:00
2014-10-23 16:41:25 +02:00
2017-09-08 16:15:17 +03:00
2013-04-08 18:13:10 +02:00