zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    root用户javac可以执行sudo后command not found问题
    机器学习 KNN算法实现 (鸢尾花)
    机器学习 KNN分类算法简单介绍+数据集拆分
    机器学习的一般流程
    机器学习算法的性能评价
    Opencv 自带函数(Haar)的人脸检测
    Opencv 的基础认识
    labelme 的学习
    天梯赛总结CCCC
    VScode配置c,c++编译环境
  • 原文地址:https://www.cnblogs.com/dream397/p/13846845.html
Copyright © 2011-2022 走看看