On 10/2/18 3:13 PM, Peter Maydell wrote: > On 1 October 2018 at 23:09, Philippe Mathieu-Daudé <f4...@amsat.org> wrote: >> Move from the legacy SysBusDevice::init method to using DeviceState::realize. > > Comment says DeviceState::realize but the code is using > PCIDevice::realize ? > > I didn't realize pci devices had their own realize method: > what's the difference between it and plain old DeviceState::realize, > which they also have, since PCIDeviceClass inherits from DeviceClass ?
Cc'ing Michael and Marcel.