环境:CentOS7-1804

下载最新的源码:

┬─[tong@T7:~/Src/thirdparty/PACKAGES]─[:: AM]
╰─>$ axel https://download.qemu.org/qemu-3.0.0.tar.xz

解压:

[root@base-centos7- package]# tar Jxvf qemu-3.0..tar.xz -C ../build/

编译:

configure

[root@base-centos7- qemu-3.0.]# ./configure --target-list=x86_64-softmmu --disable-gtk --disable-vte --disable-docs

make && make install

[root@base-centos7- qemu-3.0.]# make
[root@base-centos7- qemu-3.0.]# make install

完成

[root@base-centos7- qemu-3.0.]# which qemu-system-x86_64
/usr/local/bin/qemu-system-x86_64
[root@base-centos7- qemu-3.0.]# qemu-system-x86_64 --version
QEMU emulator version 3.0.
Copyright (c) - Fabrice Bellard and the QEMU Project developers
[root@base-centos7- qemu-3.0.]#

参考:

[qemu][cloud][centos][ovs][sdn] centos7安装高版本的qemu 以及 virtio/vhost/vhost-user咋回事

05-11 20:30