qemu 编译选项

config-host.mak  

virtiofsd

 

 

[root@localhost build]# ../configure   --enable-kvm --disable-xen --enable-libusb --enable-debug-info --enable-debug --enable-sdl --enable-vhost-net --enable-spice --disable-debug-tcg --enable-opengl --enable-gtk --enable-numa --enable-virtfs --enable-linux-aio --enable-linux-io-uring --target-list=aarch64-softmmu

ERROR: User requested feature gtk
       configure was not able to find it.
       Install gtk3-devel

[root@localhost build]# ../configure   --enable-kvm --disable-xen --enable-libusb --enable-debug-info --enable-debug --enable-sdl --enable-vhost-net --enable-spice --disable-debug-tcg --enable-opengl --enable-gtk --enable-numa --enable-virtfs --enable-linux-aio --enable-linux-io-uring --target-list=aarch64-softmmu

 

 io_ring

git clone --depth 1 -b master https://git.qemu.org/git/qemu.git
sudo apt-get install git libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev libgtk-3-dev 
libsdl2-dev libspice-protocol-dev libspice-server-dev libusb-dev libusbredirparser-dev libusb-1.0-0-dev libnuma-dev libcap-ng-dev libattr1-dev libaio-dev

sudo apt install libgles2-mesa-dev libxcb-composite0-dev libxcursor-dev   libcairo2-dev libgbm-dev libpam0g-dev
sudo apt install xutils-dev libgl1-mesa-dev
sudo apt install libepoxy-dev
sudo apt install libepoxy-dev libepoxy0 gdm3 libgdm-dev libgdm1
sudo apt-get install libusb-dev

wget http://gr.archive.ubuntu.com/ubuntu/pool/universe/libu/liburing/liburing-dev_0.6-3_amd64.deb
wget http://gr.archive.ubuntu.com/ubuntu/pool/universe/libu/liburing/liburing1_0.6-3_amd64.deb
sudo dpkg -i liburing-dev_0.6-3_amd64.deb
sudo dpkg -i liburing-dev_0.6-3_amd64.deb



cd qemu
mkdir build
cd build
../configure
./configure --enable-kvm --disable-xen --enable-libusb --enable-debug-info --enable-debug --enable-sdl --enable-vhost-net --enable-spice --disable-debug-tcg --enable-opengl --enable-gtk --enable-numa --enable-virtfs --enable-linux-aio --enable-linux-io-uring --target-list=x86_64-softmmu

 

 

[root@localhost build]# ../configure   --enable-kvm --disable-xen --enable-libusb --enable-debug-info --enable-debug --enable-sdl --enable-vhost-net   --enable-numa --enable-virtfs  --target-list=aarch64-softmmu

ERROR: VirtFS requires libcap-ng devel and libattr devel

[root@localhost build]# ../configure   --enable-kvm --disable-xen --enable-libusb --enable-debug-info --enable-debug  --enable-vhost-net   --enable-numa --enable-virtfs  --target-list=aarch64-softmmu
^C
[root@localhost build]# ../configure   --enable-kvm --disable-xen --enable-libusb --enable-debug-info --enable-debug --target-list=aarch64-softmmu

 

posted on 2020-10-20 15:43  tycoon3  阅读(1771)  评论(0编辑  收藏  举报

导航