Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
ci: virtio-fs is not working on arm
Browse files Browse the repository at this point in the history
Let's use 9pfs for now.

Fixes: #990
Signed-off-by: Peng Tao <bergwolf@hyper.sh>
  • Loading branch information
bergwolf committed Oct 19, 2020
1 parent 572e7ce commit 25b4ad8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .ci/install_runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,17 @@ case "${KATA_HYPERVISOR}" in
else
enable_hypervisor_config "${PKGDEFAULTSDIR}/configuration-qemu.toml"
fi
if [ "$(uname -m)" == "x86_64" ]; then
if [ "$arch" == "x86_64" ]; then
# Due to a KVM bug, vmx-rdseed-exit must be disabled in QEMU >= 4.2
# All CI now uses qemu 5.0+, disabled in the time..
# see https://github.com/kata-containers/runtime/pull/2355#issuecomment-625469252
sudo sed -i 's|^cpu_features="|cpu_features="-vmx-rdseed-exit,|g' "${runtime_config_path}"
fi
if [ "$arch" == "aarch64" ]; then
# virtio-fs is not working on aarch64 yet.
# See https://github.com/kata-containers/kata-containers/issues/990
sudo sed -i 's|^shared_fs = "virtio-fs"|shared_fs = "virtio-9p"|g' "${runtime_config_path}"
fi
;;
*)
die "failed to enable config for '${KATA_HYPERVISOR}', not supported"
Expand Down

0 comments on commit 25b4ad8

Please # to comment.