因原openstack 使用qemu 版本为2.0 太低,考虑升级qemu
1 2 #docker pull centos:8 #docker run --name spdk-vhost --privileged=true --network=host -v /opt/tmp:/opt/tmp -it centos:8 bash
1 2 3 4 5 yum -y install python3 python3-devel wget wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo yum -y install epel-release dnf --enablerepo=powertools install ninja-build diffutils pixman-devel #dnf --enablerepo=powertools install gcc gcc-c++ automake libtool zlib-devel glib2-devel bzip2 bzip2-devel libuuid-devel spice-protocol spice-server-devel usbredir-devel libaio-devel make libmount-devel python3-sphinx cmake
1 yum -y install ceph-common librbd1-devel
1 2 3 4 5 6 wget https://download.qemu.org/qemu-5.2.0.tar.xz --no-check-certificate tar xvJf qemu-5.2.0.tar.xz cd qemu-5.2.0 ./configure --prefix=/usr/ --enable-kvm --enable-rbd make -j8 make install
1 2 ln -sf /usr/bin/qemu-system-x86_64 /usr/bin/qemu-kvm ln -sf /usr/bin/qemu-system-x86_64 /usr/libexec/qemu-kvm
Troubleshooting 1 2 3 4 5 6 7 Program dbus-daemon found: YES (/bin/dbus-daemon) ../tests/qtest/meson.build:73:2: ERROR: No program name specified. A full log can be found at /usr/local/src/qemu-5.2.0/build/meson-logs/meson-log.txt ERROR: meson setup failed
解决