hw/loongarch/meson.build | 6 +- hw/loongarch/{acpi-build.c => virt-acpi-build.c} | 6 +- hw/loongarch/virt-fdt-build.c | 535 ++++++++++++++++++++ hw/loongarch/virt.c | 593 ++--------------------- include/hw/loongarch/virt.h | 5 +- target/loongarch/cpu.h | 2 - 6 files changed, 584 insertions(+), 563 deletions(-) rename hw/loongarch/{acpi-build.c => virt-acpi-build.c} (99%) create mode 100644 hw/loongarch/virt-fdt-build.c