« Previous | Next » 

Revision 4ce5dae8

ID4ce5dae88ecf2bafa0cd663de7e923728b1b3672

Added by Peter Maydell about 11 years ago

sysbus: make SysBusDeviceClass::init optional

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 Maydell <>
Acked-by: Andreas Färber <>
Reviewed-by: Peter Crosthwaite <>
Message-id:
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences