Re: [Qemu-devel] [PATCH v2 1/5] sysbus: make SysBusDeviceClass::init optional

2013-03-03 Thread Peter Crosthwaite
On Tue, Feb 26, 2013 at 3:08 AM, Peter Maydell wrote: > Make the SysBusDeviceClass::init optional, for devices which > genuinely don't need to do anything here. In particular, simple > devices which can do all their initialization in their > instance_init method don't need either a DeviceClass::re

[Qemu-devel] [PATCH v2 1/5] sysbus: make SysBusDeviceClass::init optional

2013-02-25 Thread Peter Maydell
Make the SysBusDeviceClass::init optional, for devices which genuinely don't need to do anything here. In particular, simple devices which can do all their initialization in their instance_init method don't need either a DeviceClass::realize or SysBusDeviceClass::init method. Signed-off-by: Peter