zoukankan      html  css  js  c++  java
  • git 编译qemu5.0

      git branch --all

      git checkout -b remotes/origin/stable-5.0
    make -j64 clean  ---删除5.1
     cd ..
     rm -rf build/ 不删除 有问题

    root@cloud:~/qemu-system/virtio_qemu/qemu.5.0/5.0.x# git apply --check *patch
    root@cloud:~/qemu-system/virtio_qemu/qemu.5.0/5.0.x# git apply *patch
    root@cloud:~/qemu-system/virtio_qemu/qemu.5.0/5.0.x# cd ../build/
    root@cloud:~/qemu-system/virtio_qemu/qemu.5.0/build# ../configure --target-list=aarch64-softmmu


     ../configure --target-list=aarch64-softmmu

    编译出来的还是5.1

    root@cloud:~/qemu-system# qemu-system-aarch64 -version
    QEMU emulator version 5.0.1 (v5.0.1-dirty)
    Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
     git clone --branch stable-5.0 --single-branch --depth 1 --shallow-submodules https://github.com/qemu/qemu
    没有capstone和ui再拉取这两个包
    git clone https://github.com/qemu/capstone.git capstone git clone https://github.com/qemu/keycodemapdb.git ui/keycodemapdb mv capstone/ ui/ qemu/
    root@cloud:~/qemu-system# qemu-system-aarch64 -version
    QEMU emulator version 5.0.1 (v5.0.1-dirty)
    Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
    root@cloud:~/qemu-system#  
    qemu-system-aarch64: Property '.nvdimm' not found
    root@cloud:~/qemu-system# 

  • 相关阅读:
    常用Linux命令:ls/cd/pwd/mkdir/rm/mv/cp
    设计模式(5)---代理模式
    设计模式(4)---装饰模式
    设计模式(3)---基本原则
    设计模式(2)---策略模式
    设计模式(1)---简单工厂模式
    linux系统硬件配置查看方法
    boost.asio系列(一)——deadline_timer
    ubuntu 安装JDK
    计算图像数据集的RGB均值
  • 原文地址:https://www.cnblogs.com/dream397/p/13965315.html
Copyright © 2011-2022 走看看