Here move fdt table creation from spotted places to machine done
notification, since all objects finish to create when machine is done.
Also create fdt table for CPU objects with possible_cpu_arch_ids()
function rather than smp.cpus, since command
-smp x, -device la464-loongarch-cpu can be used.
Bibo Mao (2):
hw/loongarch/virt: Create fdt table on machine creation done
notification
hw/loongarch/virt: Improve fdt table creation for CPU object
hw/loongarch/virt.c | 142 +++++++++++++++++++++++++-------------------
1 file changed, 82 insertions(+), 60 deletions(-)
base-commit: 791e3837c1105aec4e328674aad32e34056957e2
--
2.39.3