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# 

  • 相关阅读:
    《将博客搬至CSDN》
    2015-05-01 至 2015-07-30错误总结
    2015-01-01至2015-04-30错误积累
    2015-07-30 至 2016-03-16错误Note
    2014-11-21错误总结
    Spring 和 SpringMVC 的区别
    spring 容器加载
    Spring注解
    自定义拦截器
    Js闭包
  • 原文地址:https://www.cnblogs.com/dream397/p/13965315.html
Copyright © 2011-2022 走看看