qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

tests/docker: add debian11 base image

We won't use this for building QEMU but we do need newer GCC's and
binutils for building some of our test cases.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200520140541.30256-10-alex.bennee@linaro.org>

+19 -1
+1 -1
tests/docker/Makefile.include
··· 7 7 DOCKER_SUFFIX := .docker 8 8 DOCKER_FILES_DIR := $(SRC_PATH)/tests/docker/dockerfiles 9 9 # we don't run tests on intermediate images (used as base by another image) 10 - DOCKER_PARTIAL_IMAGES := debian9 debian10 10 + DOCKER_PARTIAL_IMAGES := debian9 debian10 debian11 11 11 DOCKER_PARTIAL_IMAGES += debian9-mxe debian-bootstrap 12 12 DOCKER_IMAGES := $(sort $(notdir $(basename $(wildcard $(DOCKER_FILES_DIR)/*.docker)))) 13 13 DOCKER_TARGETS := $(patsubst %,docker-image-%,$(DOCKER_IMAGES))
+18
tests/docker/dockerfiles/debian11.docker
··· 1 + # 2 + # Docker multiarch cross-compiler target 3 + # 4 + # This docker target uses the current development version of Debian as 5 + # a base for cross compilers for building test binaries. We won't 6 + # attempt to build QEMU on it yet given it is still in development. 7 + # 8 + # On its own you can't build much but the docker-foo-cross targets 9 + # build on top of the base debian image. 10 + # 11 + FROM debian:bullseye-slim 12 + 13 + # Duplicate deb line as deb-src 14 + RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list 15 + 16 + # Install common build utilities 17 + RUN apt update && \ 18 + DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata