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# 

  • 相关阅读:
    从头到尾彻底理解KMP
    [CF1220E] Tourism
    [CF446C] DZY Loves Fibonacci Numbers
    [CF1003E] Tree Constructing
    [CF1238E] Keyboard Purchase
    [CF915E] Physical Education Lessons
    [CF788B] Weird journey
    [CF1371E2] Asterism (Hard Version)
    [CF780E] Underground Lab
    [CF372C] Watching Fireworks is Fun
  • 原文地址:https://www.cnblogs.com/dream397/p/13965315.html
Copyright © 2011-2022 走看看