Using the 64-bit KVM API from 32-bit Arm userspace was only possible on ChromeOS due to a kernel hack that enabled the KVM compat ioctl with no translation (so it passed through structs directly to the 64-bit host kernel). This never worked on an unmodified upstream Linux kernel. All supported Arm-based ChromeOS boards have been migrated to 64-bit userspace, so we can drop the 32-bit Arm host support code. BUG=b:452696537 TEST=crosvm CQ TEST=ChromeOS CQ with crrev.com/c/7094556 Change-Id: I254bc4dbe7f760403cd93f37cc5fdcada23cd483 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/6542041 Reviewed-by: Dmitry Torokhov <dtor@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
# Copyright 2025 The ChromiumOS Authors
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# Development container base image for crosvm.
|
|
#
|
|
# The dev container is split into two images. The base image in this Dockerfile.base only installs
|
|
# required Debian packages. This allows us to pin the version of debian packages used and update
|
|
# other parts of the container without pulling in the latest testing packages.
|
|
|
|
FROM docker.io/debian:testing-slim
|
|
|
|
# Add foreign architectures for cross-compilation.
|
|
RUN dpkg --add-architecture arm64 \
|
|
&& dpkg --add-architecture riscv64
|
|
|
|
# Use ./tools/deps/install-*-debs scripts to install debian packages
|
|
COPY --chmod=555 \
|
|
tools/deps/install-x86_64-debs \
|
|
tools/deps/install-aarch64-debs \
|
|
tools/deps/install-mingw64-debs \
|
|
tools/deps/install-riscv64-debs \
|
|
/tools/deps/
|
|
RUN cd /tools/deps \
|
|
&& apt-get update \
|
|
&& apt-get install --yes sudo curl \
|
|
&& ./install-x86_64-debs \
|
|
&& ./install-aarch64-debs \
|
|
&& ./install-mingw64-debs \
|
|
&& ./install-riscv64-debs
|