qemu with hax to log dma reads & writes
jcs.org/2018/11/12/vfio
1#
2# Docker arm64 cross-compiler target (tests only)
3#
4# This docker target builds on the debian Bullseye base image.
5#
6FROM qemu:debian11
7
8# Add the foreign architecture we want and install dependencies
9RUN dpkg --add-architecture arm64
10RUN apt update && \
11 DEBIAN_FRONTEND=noninteractive eatmydata \
12 apt install -y --no-install-recommends \
13 crossbuild-essential-arm64 gcc-10-aarch64-linux-gnu