Installing QEMU
- Install the compilation dependencies.
yum -y install gcc make glib2-devel zlib-devel pixman-devel libaio-devel flex bison
- Download the code library from the Kunpeng community.
1git clone https://github.com/kunpengcompute/qemu.git
- Switch the branch.
1 2 3
cd qemu git checkout stable-4.0 git submodule update --init
On CentOS 7.6, git submodule reports the following error:
error: RPC failed; result=22, HTTP code = 422
You are advised to compile and install Git 2.x.
- Create a build directory and go to this directory.
1mkdir build && cd build
- Perform compilation and installation.
1 2
../configure --target-list=aarch64-softmmu make install -j 16
- Check the QEMU version.
1qemu-system-aarch64 --versionThe QEMU version is 4.0.1, as shown in the following figure.

Parent topic: CentOS 7.6 Tuning