Re: [PATCH 2/4] hw: Replace dev->parent_bus by qdev_get_parent_bus(dev)

2023-02-14 Thread Philippe Mathieu-Daudé
On 14/2/23 00:19, Richard Henderson wrote: On 2/12/23 13:03, Philippe Mathieu-Daudé wrote: On 12/2/23 23:47, Philippe Mathieu-Daudé wrote: DeviceState::parent_bus is an internal field and should be accessed by the qdev_get_parent_bus() helper. Replace all uses in hw/ except the QDev uses in hw/

Re: [PATCH 2/4] hw: Replace dev->parent_bus by qdev_get_parent_bus(dev)

2023-02-13 Thread Richard Henderson
On 2/12/23 13:03, Philippe Mathieu-Daudé wrote: On 12/2/23 23:47, Philippe Mathieu-Daudé wrote: DeviceState::parent_bus is an internal field and should be accessed by the qdev_get_parent_bus() helper. Replace all uses in hw/ except the QDev uses in hw/core/. Signed-off-by: Philippe Mathieu-Daud

Re: [PATCH 2/4] hw: Replace dev->parent_bus by qdev_get_parent_bus(dev)

2023-02-12 Thread Philippe Mathieu-Daudé
On 12/2/23 23:47, Philippe Mathieu-Daudé wrote: DeviceState::parent_bus is an internal field and should be accessed by the qdev_get_parent_bus() helper. Replace all uses in hw/ except the QDev uses in hw/core/. Signed-off-by: Philippe Mathieu-Daudé --- hw/audio/intel-hda.c| 2

[PATCH 2/4] hw: Replace dev->parent_bus by qdev_get_parent_bus(dev)

2023-02-12 Thread Philippe Mathieu-Daudé
DeviceState::parent_bus is an internal field and should be accessed by the qdev_get_parent_bus() helper. Replace all uses in hw/ except the QDev uses in hw/core/. Signed-off-by: Philippe Mathieu-Daudé --- hw/audio/intel-hda.c| 2 +- hw/block/fdc.c | 2 +- h