hw/loongarch/virt: Create fdt table on machine creation done notification
authorBibo Mao <maobibo@loongson.cn>
Tue, 24 Dec 2024 09:13:53 +0000 (17:13 +0800)
committerBibo Mao <maobibo@loongson.cn>
Fri, 27 Dec 2024 03:32:40 +0000 (11:32 +0800)
commit2f1399b008e5aeab6283fbe2cda5c440f62ff1bb
tree5552c1077dfa142383362578182b8f4bc56d369f
parentd41989e7548397b469ec9c7be4cee699321a317e
hw/loongarch/virt: Create fdt table on machine creation done notification

The same with ACPI table, fdt table is created on machine done
notification. Some objects like CPU objects can be created with cold-plug
method with command such as -smp x, -device la464-loongarch-cpu, so all
objects finish to create when machine is done.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
hw/loongarch/virt.c