[Qemu-devel] [PATCH 18/22] hw/ssi/pl022: Use DeviceState::realize rather than SysBusDevice::init

2018-08-20 Thread Peter Maydell
Move from the legacy SysBusDevice::init method to using DeviceState::realize. Signed-off-by: Peter Maydell --- hw/ssi/pl022.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/hw/ssi/pl022.c b/hw/ssi/pl022.c index c9989537062..3ac57f4c96a 100644 --- a/hw/ssi/pl022.c +++

Re: [Qemu-devel] [PATCH 18/22] hw/ssi/pl022: Use DeviceState::realize rather than SysBusDevice::init

2018-08-20 Thread Philippe Mathieu-Daudé
On 08/20/2018 11:11 AM, Peter Maydell wrote: > Move from the legacy SysBusDevice::init method to using > DeviceState::realize. It would be nice to have a wiki page where each maintainer list his deprecated/legacy API and which current API to use instead (and why, some examples how to use or port,

Re: [Qemu-devel] [PATCH 18/22] hw/ssi/pl022: Use DeviceState::realize rather than SysBusDevice::init

2018-08-23 Thread Peter Maydell
On 21 August 2018 at 07:53, Philippe Mathieu-Daudé wrote: > On 08/20/2018 11:11 AM, Peter Maydell wrote: >> Move from the legacy SysBusDevice::init method to using >> DeviceState::realize. > > It would be nice to have a wiki page where each maintainer list his > deprecated/legacy API and which cur

Re: [Qemu-devel] [PATCH 18/22] hw/ssi/pl022: Use DeviceState::realize rather than SysBusDevice::init

2018-08-23 Thread Richard Henderson
On 08/20/2018 07:11 AM, Peter Maydell wrote: > Move from the legacy SysBusDevice::init method to using > DeviceState::realize. > > Signed-off-by: Peter Maydell > --- > hw/ssi/pl022.c | 8 +++- > 1 file changed, 3 insertions(+), 5 deletions(-) Reviewed-by: Richard Henderson r~