Search...
ISA: LoongArch
09-06 2022

QEMU Version 7.1.0 Supports LoongArch

On August 30, 2022, the official QEMU community announced the availability of the QEMU 7.1.0 release, which adds initial support for LoongArch.

Introduction to QEMU

QEMU (Quick Emulator) is a machine emulator widely used in the chip industry. It can run operating systems and programs that support different architectures on another machine (e.g. an X86 PC), enabling software to run seamlessly on various hardware architectures.

QEMU Support for LoongArch

After QEMU adds support for LoongArch, users can compile, run, and debug binary software compatible with LoongArch on physical machines that do not support the LoongArch platform.

A Benefit for Software Developers

For software developers, QEMU provides a platform for systems to be executed under different hardware architectures, as well as an integrated testing environment for cross-architecture software. Therefore, it can enhance the efficiency and maturity of software development.

Multi-Party Collaboration to Build an Open-Source Ecosystem Based on LoongArch

Together with the open-source software community, Loongson's technical team has worked through more than 20 iterations to achieve QEMU support for LoongArch. Throughout the iterative process, LoongArch needs to, on the one hand, adapt to the latest changes in the QEMU community and, on the other hand, rely on the UEFI and kernel code. Eventually, after its kernel was integrated into the Linux community, the QEMU community embraced LoongArch in early July of this year and announced the support in version 7.1.0.

Support for User-Mode Program Emulation and Full System Emulation Based on LoongArch

QEMU version 7.1.0 supports user-mode program emulation and full system emulation based on LoongArch. The former allows for running and debugging LoongArch-based user-mode programs on a mainstream X86 architecture.

The latter supports the emulation of the LS3A5000 single-board computer and the running of the community kernel. Users can debug the kernel and drivers and perform CI testing.

m wap