Re: [PATCH 02/22] hw/intc/apic: Pass CPU using QOM link property

2023-11-28 Thread Igor Mammedov
On Mon, 18 Sep 2023 18:02:35 +0200 Philippe Mathieu-Daudé wrote: > QOM objects shouldn't access each other internals fields > except using the QOM API. > > Declare the 'cpu' and 'base-addr' properties, set them > using object_property_set_link() and qdev_prop_set_uint32() > respectively. > > Si

Re: [PATCH 02/22] hw/intc/apic: Pass CPU using QOM link property

2023-09-29 Thread Richard Henderson
On 9/18/23 09:02, Philippe Mathieu-Daudé wrote: QOM objects shouldn't access each other internals fields except using the QOM API. Declare the 'cpu' and 'base-addr' properties, set them using object_property_set_link() and qdev_prop_set_uint32() respectively. Signed-off-by: Philippe Mathieu-Dau

[PATCH 02/22] hw/intc/apic: Pass CPU using QOM link property

2023-09-18 Thread Philippe Mathieu-Daudé
QOM objects shouldn't access each other internals fields except using the QOM API. Declare the 'cpu' and 'base-addr' properties, set them using object_property_set_link() and qdev_prop_set_uint32() respectively. Signed-off-by: Philippe Mathieu-Daudé --- hw/intc/apic_common.c| 2 ++ target/