qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio
at master 38 lines 1.4 kB view raw
1# 2# Docker mingw64 cross-compiler target 3# 4# This docker target builds on the debian Stretch MXE base image. 5# 6FROM qemu:debian9-mxe 7 8MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org> 9 10ENV TARGET x86-64 11 12ENV PATH $PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/bin 13 14ENV PKG_CONFIG_PATH \ 15 $PKG_CONFIG_PATH:/usr/lib/mxe/usr/$TARGET-w64-mingw32.shared/lib/pkgconfig 16 17RUN apt-get update && \ 18 DEBIAN_FRONTEND=noninteractive eatmydata \ 19 apt-get install -y --no-install-recommends \ 20 mxe-$TARGET-w64-mingw32.shared-bzip2 \ 21 mxe-$TARGET-w64-mingw32.shared-curl \ 22 mxe-$TARGET-w64-mingw32.shared-glib \ 23 mxe-$TARGET-w64-mingw32.shared-libgcrypt \ 24 mxe-$TARGET-w64-mingw32.shared-libusb1 \ 25 mxe-$TARGET-w64-mingw32.shared-lzo \ 26 mxe-$TARGET-w64-mingw32.shared-nettle \ 27 mxe-$TARGET-w64-mingw32.shared-ncurses \ 28 mxe-$TARGET-w64-mingw32.shared-nsis \ 29 mxe-$TARGET-w64-mingw32.shared-pixman \ 30 mxe-$TARGET-w64-mingw32.shared-pkgconf \ 31 mxe-$TARGET-w64-mingw32.shared-pthreads \ 32 mxe-$TARGET-w64-mingw32.shared-sdl2 \ 33 mxe-$TARGET-w64-mingw32.shared-sdl2-mixer \ 34 mxe-$TARGET-w64-mingw32.shared-sdl2-gfx \ 35 mxe-$TARGET-w64-mingw32.shared-zlib 36 37# Specify the cross prefix for this image (see tests/docker/common.rc) 38ENV QEMU_CONFIGURE_OPTS --cross-prefix=x86_64-w64-mingw32.shared-