qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio
at master 21 lines 812 B view raw
1# 2# Docker mingw cross-compiler target 3# 4# This docker target builds on the debian Stretch base image. 5# 6FROM qemu:debian9 7 8MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org> 9 10RUN DEBIAN_FRONTEND=noninteractive eatmydata \ 11 apt install -y --no-install-recommends gnupg dirmngr 12 13# Add the foreign architecture we want and install dependencies 14RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6BF758A33A3A276 && \ 15 echo "deb http://pkg.mxe.cc/repos/apt stretch main" > /etc/apt/sources.list.d/mxeapt.list 16RUN apt-get update && \ 17 DEBIAN_FRONTEND=noninteractive eatmydata \ 18 apt-get install -y --no-install-recommends \ 19 $(apt-get -s install -y --no-install-recommends gw32.shared-mingw-w64 | egrep "^Inst mxe-x86-64-unknown-" | cut -d\ -f2) 20 21ENV PATH $PATH:/usr/lib/mxe/usr/bin/