hw/pci-host/bonito: Use DeviceState::realize rather than SysBusDevice::init
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 2 Oct 2018 21:25:15 +0000 (23:25 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 24 Oct 2018 09:44:59 +0000 (06:44 -0300)
commite800894a1cb04c7ba79febfde8bc0fe7c27498df
tree6db73c629a35b0bdb4c63463f5f4411a590aa9ae
parent0e372e5853818e731e6fc6cf26ae62acf2179b35
hw/pci-host/bonito: Use DeviceState::realize rather than SysBusDevice::init

Move from the legacy SysBusDevice::init method to using DeviceState::realize.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20181002212522.23303-7-f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/pci-host/bonito.c