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-Daudé<phi...@linaro.org>
---
hw/intc/apic_common.c | 2 ++
target/i386/cpu-sysemu.c | 11 ++++++-----
2 files changed, 8 insertions(+), 5 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~