The first patch fixed the issue with rtc hardware emulation on the loongarch platform.
The second patch adds an acpi table to the rtc hardware simulation of the loongarch platform, enabling the virtual machine kernel to use the loongson rtc driver through the acpi table. Cc: Bibo Mao <maob...@loongson.cn> Cc: Song Gao <gaos...@loongson.cn> Cc: Jiaxun Yang <jiaxun.y...@flygoat.com> Cc: Xianglai Li <lixiang...@loongson.cn> Xianglai Li (2): hw/rtc: Fixed loongson rtc emulation errors hw/loongarch: add rtc acpi table hw/loongarch/virt-acpi-build.c | 24 ++++++++++++++++++++++++ hw/loongarch/virt-fdt-build.c | 11 +++++++++-- hw/rtc/ls7a_rtc.c | 26 +++++++++++++++++--------- 3 files changed, 50 insertions(+), 11 deletions(-) -- 2.39.1