Skip to content

[Legacy] QEMU Instrumentation

Brany edited this page Feb 5, 2024 · 1 revision

Major features

External and incremental snapshots

Singlestepping

Multi-node

How to bump QEMU version

Short version, nothing goes wrong

  1. Fetch the latest version branch from QEMU git remote add qemu-orig https://gitlab.com/qemu-project/qemu.git git fetch qemu-orig vLAST_VER
  2. Merge and solve conflicts target/arm/tcg/translate-a64.c is the most challenging conflict to solve
  3. Make sure you can build with all the ./configure arguments enabled, and without any

Long version

  1. Check latest QEMU version in qemu/VERSION
  2. Fetch the version matching current qemu/VERSION and latest branch from QEMU git remote add qemu-orig https://gitlab.com/qemu-project/qemu.git git fetch qemu-orig vCURR_VER git fetch qemu-orig vLAST_VER
  3. Make a diff file from qflex qemu and vCURR_VER qemu
  4. Apply patch on top of vLAST_VER
  5. Solve conflicts and build errors
  6. Apply those conflicts solutions to qflex qemu
  7. Merge with vLAST_VER