qemu编译安装

编译安装qemu-4.0.0,生成qemu-system-aarch64

安装依赖包

yum -y install glib2-devel zlib-devel pixman-devel libaio-devel

下载qemu-4.0.0,解压并进入QEMU目录

wget https://download.qemu.org/qemu-4.0.0.tar.xz
tar -xvf qemu-4.0.0.tar.xz
cd qemu-4.0.0

配置编译安装

./configure --target-list=aarch64-softmmu  --enable-linux-aio
 make -j 2 && make install

报错

使用支持的机器类型

qemu-system-aarch64: -enable-kvm: No machine specified, and there is no default Use -machine help to list supported machines
# 查看支持机器
qemu-system-aarch64 -M help

# 查看支持机器的CPU
qemu-system-aarch64 -M virt -cpu help

refe

https://support.huaweicloud.com/instg-kunpengcpfs/kunpengkvm_03_0005.html
https://gbasedbt.com/index.php/archives/123/
https://blog.csdn.net/chenxiangneu/article/details/78955462
https://wiki.ubuntu.com/UEFI/virt-install

posted @ 2021-06-05 09:35  原因与结果  阅读(647)  评论(0编辑  收藏  举报