Skip to content

Instantly share code, notes, and snippets.

@marvkis
marvkis / kubevirt-passt-binding-arm-build.md
Last active April 11, 2024 20:20
Build kubevirt-passt-binding plugin for ARM64/aarch64
  • Create a lxc/icinga ubuntu container, install git & docker
  • Compile kubvirt-passt-binding
git clone https://github.com/kubevirt/kubevirt.git
cd kubevirt
make
# make fails
hack/dockerized ". ./hack/common.sh ; bazel run --config=aarch64 :build-cni-passt-binding -- \${CMD_OUT_DIR}/cniplugins/kubevirt-passt-binding"
# binary is now in _out/cmd/cniplugins/kubevirt-passt-binding
@marvkis
marvkis / KubeVirt_on_Rock5B.md
Created March 23, 2024 19:38
Running KubeVirt.io on a Rock5 Model B

Introduction

I was playing around with kubevirt.io (v1.2.0) on a Radxa ROCK 5 Model B. When I tried to boot a VM, I just had the qemu-kvm process eating 100% CPU with no output to the console.

I built an alternative setup based on ubuntu 22.04 and qemu worked with KVM without any problems. After some investigation I had the idea that it might be related to the (U)EFI bios used. I transferred the /usr/share/AAVMF/AAVMF_CODE.fd files from the 22.04 setup into the kubevirt compute container, started an additional qemu-kvm with -bios AAVMF/AAVMF_CODE.fd and voila - KVM booted correctly.

Findings

My findings so far: