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

2013-02-15 Thread Andreas Färber
Am 15.02.2013 12:45, schrieb 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

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

2013-02-15 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