On Wed, Feb 21, 2024 at 06:46:04PM +0800, Xianglai Li wrote: > Add loongarch cpu support, Define new cpu type 'loongarch64' > and implement it's driver functions. > > Signed-off-by: Xianglai Li <lixianglai@xxxxxxxxxxx> > --- > src/conf/schemas/basictypes.rng | 1 + > src/cpu/cpu.c | 2 ++ > src/cpu/cpu_loongarch.c | 58 +++++++++++++++++++++++++++++++++ > src/cpu/cpu_loongarch.h | 25 ++++++++++++++ > src/cpu/meson.build | 1 + > src/qemu/qemu_capabilities.c | 11 ++++--- > src/qemu/qemu_domain.c | 1 + > src/util/virarch.c | 11 ++++--- > src/util/virarch.h | 13 +++++--- > 9 files changed, 108 insertions(+), 15 deletions(-) > create mode 100644 src/cpu/cpu_loongarch.c > create mode 100644 src/cpu/cpu_loongarch.h Due to recent changes, the diff below needs to be squashed in. diff --git a/tests/qemufirmwaretest.c b/tests/qemufirmwaretest.c index 1b5baf5c5e..c967f86d68 100644 --- a/tests/qemufirmwaretest.c +++ b/tests/qemufirmwaretest.c @@ -269,7 +269,7 @@ mymain(void) DO_PARSE_TEST("usr/share/qemu/firmware/40-edk2-ovmf-4m-qcow2-x64-sb.json"); DO_PARSE_TEST("usr/share/qemu/firmware/41-edk2-ovmf-2m-raw-x64-sb.json"); DO_PARSE_TEST("usr/share/qemu/firmware/50-edk2-aarch64-qcow2.json"); - DO_PARSE_FAILURE_TEST("usr/share/qemu/firmware/50-edk2-loongarch64.json"); + DO_PARSE_TEST("usr/share/qemu/firmware/50-edk2-loongarch64.json"); DO_PARSE_TEST("usr/share/qemu/firmware/50-edk2-ovmf-4m-qcow2-x64-nosb.json"); DO_PARSE_TEST("usr/share/qemu/firmware/50-edk2-ovmf-x64-microvm.json"); DO_PARSE_TEST("usr/share/qemu/firmware/51-edk2-aarch64-raw.json"); -- Andrea Bolognani / Red Hat / Virtualization _______________________________________________ Devel mailing list -- devel@xxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx