summaryrefslogtreecommitdiffstats
path: root/linux-headers
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2018-05-28 16:45:08 +0200
committerPaolo Bonzini2018-06-01 15:14:31 +0200
commitdbfe00130e4b0cd34d06d693a060655b4f7e95b4 (patch)
tree9fecdf4e5134662fecdb2e46bf124a550c41fa12 /linux-headers
parenthw/i2c: Use DeviceClass::realize instead of I2CSlaveClass::init (diff)
downloadqemu-dbfe00130e4b0cd34d06d693a060655b4f7e95b4.tar.gz
qemu-dbfe00130e4b0cd34d06d693a060655b4f7e95b4.tar.xz
qemu-dbfe00130e4b0cd34d06d693a060655b4f7e95b4.zip
qdev: Simplify the SysBusDeviceClass::init path
Instead of using SysBusDeviceClass::realize -> DeviceClass::realize -> DeviceClass::init -> sysbus_device_init -> SysBusDeviceClass::init Simplify the path by directly calling SysBusDeviceClass::init in SysBusDeviceClass::realize: SysBusDeviceClass::realize -> SysBusDeviceClass::init Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180419212727.26095-4-f4bug@amsat.org> Reviewed-by: Markus Armbruster <armbru@redhat.com> [Removal of DeviceClass::init() moved into next patch, sysbus_realize() tweaked for clarity] Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20180528144509.15812-4-armbru@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions