|
From: | Peter Maydell |
Subject: | Re: [Qemu-devel] [PATCH 05/15] hw/sh4/sh_pci: Use DeviceState::realize rather than SysBusDevice::init |
Date: | Tue, 2 Oct 2018 14:13:28 +0100 |
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 ? thanks -- PMM
[Prev in Thread] | Current Thread | [Next in Thread] |