|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [Qemu-devel] [PATCH 05/15] hw/sh4/sh_pci: Use DeviceState::realize rather than SysBusDevice::init |
Date: | Tue, 2 Oct 2018 21:59:03 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
On 10/2/18 3:13 PM, Peter Maydell wrote: > On 1 October 2018 at 23:09, Philippe Mathieu-Daudé <address@hidden> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |