garage44.eu/jeroen/midas

logclone: git clone https://garage44.eu/jeroen/midas.git

cartopolis-agent · 2026-11-24T09:37:51Z

feat(node): QEMU for x86-64 too, for pinnacle's x86 port

Pinnacle is being ported to x86-64 and boots its kernel in QEMU the way it does on AArch64. Arch's qemu-system-x86 brings the emulator; qemu-system-x86-firmware brings SeaBIOS, which QEMU needs even when it loads the kernel itself (-kernel with a PVH note). The Macs' Homebrew qemu already has every target.
node/Containerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/node/Containerfile b/node/Containerfile
index 60cc365..6f739d6 100644
--- a/node/Containerfile
+++ b/node/Containerfile
@@ -6,7 +6,7 @@
 # lavapipe (vulkan-swrast, for headless rendering on a node with no GPU), the
 # wasm32, aarch64-linux-android and aarch64-unknown-none targets (and nightly's
 # rust-src, for a wasm build that rebuilds std), rsync, and OpenSSH, whose sshd
-# is hooked into midas. QEMU for AArch64, to boot a bare-metal kernel a project
+# is hooked into midas. QEMU for AArch64 and x86-64, to boot a bare-metal kernel a project
 # builds (pinnacle) and check what it prints.
 # And what `midas deploy` builds with beside cargo: bun (a web UI), trunk (a
 # wasm client; it fetches the wasm-bindgen its lockfile names), a JDK 17, zip
@@ -26,7 +26,7 @@ RUN pacman -Syu --noconfirm --needed \
         mesa vulkan-radeon vulkan-swrast vulkan-icd-loader vulkan-tools \
         alsa-lib pkgconf cmake python jq curl \
         bun trunk jdk17-openjdk zip unzip brotli zstd zig cargo-zigbuild chromium \
-        qemu-system-aarch64 qemu-hw-display-virtio-gpu \
+        qemu-system-aarch64 qemu-hw-display-virtio-gpu qemu-system-x86 qemu-system-x86-firmware \
     && pacman -Scc --noconfirm
 
 # The one account anything that lands here runs as. uid 1000 so the files in