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# 

  • 相关阅读:
    线性代数思维导图——3.向量
    微分中值定理的基础题型总结
    构造函数
    Python课程笔记(七)
    0241. Different Ways to Add Parentheses (M)
    0014. Longest Common Prefix (E)
    0013. Roman to Integer (E)
    0011. Container With Most Water (M)
    0010. Regular Expression Matching (H)
    0012. Integer to Roman (M)
  • 原文地址:https://www.cnblogs.com/dream397/p/13965315.html
Copyright © 2011-2022 走看看