Skip to content

Bump libkrun to v1.18.0 and libkrunfw to v5.4.0#82

Merged
JAORMX merged 1 commit into
mainfrom
jaosorior/bump-libkrun-1.18.0
May 19, 2026
Merged

Bump libkrun to v1.18.0 and libkrunfw to v5.4.0#82
JAORMX merged 1 commit into
mainfrom
jaosorior/bump-libkrun-1.18.0

Conversation

@JAORMX
Copy link
Copy Markdown
Contributor

@JAORMX JAORMX commented May 19, 2026

Summary

  • Bumps LIBKRUN_VERSION from v1.17.3 to v1.18.0
  • Bumps LIBKRUNFW_VERSION from v5.2.0 to v5.4.0
  • Updates Containerfile defaults and docs/CI.md example to match

Why

We're a few releases behind on both libraries. The most notable changes:

libkrun v1.17.3 → v1.18.0

  • Nested virt support on Linux (KVM intel/amd nested params probed)
  • New virtio drivers: snd, input, rng, can, rtc
  • Read-only virtiofs mounts (#623)
  • KILLPRIV → KILLPRIV_V2, cap-ng → caps refactor
  • Many vsock/tsi, virtio-fs/macOS, and init fixes

libkrunfw v5.2.0 → v5.4.0

  • Rebased on Linux kernel 6.12.87
  • KVM enabled in embedded kernel (pairs with libkrun nested virt)
  • virtio-snd, virtio-can, virtio-input, virtio-rtc drivers enabled
  • EROFS xattr/security support on x86_64

Full release notes:

Test plan

Already validated locally on linux/amd64:

  • task builder-image-build — clean build of libkrun v1.18.0 + libkrunfw v5.4.0 from source
  • task build-runner — Go bindings compile against the new libkrun (no CGO breakage)
  • task test-nocgo — all pure-Go tests pass
  • CGO tests for ./krun/... and ./hypervisor/libkrun/... pass inside the new builder image
  • End-to-end: bbox claude-code boots a microVM in ~2.66s, executes a command inside, shuts down cleanly

Once merged:

  • CI Linux CGO job will fail until the Builder workflow rebuilds the image (~20 min)
  • Re-run the failed CI job, then tag a release to produce updated runtime/firmware artifacts

🤖 Generated with Claude Code

libkrun v1.17.3 -> v1.18.0:
- Nested virt support on Linux (KVM intel/amd nested params probed)
- New virtio drivers: snd, input, rng, can, rtc
- Read-only virtiofs mounts
- KILLPRIV_V2, cap-ng -> caps refactor, numerous bug fixes

libkrunfw v5.2.0 -> v5.4.0:
- Rebased on Linux kernel 6.12.87
- KVM enabled in the embedded kernel (enables nested virt)
- virtio-snd, virtio-can, virtio-input, virtio-rtc drivers enabled
- EROFS xattr/security support on x86_64

Validated locally:
- Builder image builds clean against new versions
- task test-nocgo + CGO tests (./krun/..., ./hypervisor/libkrun/...) pass
- End-to-end bbox VM boot in 2.66s, clean shutdown

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@JAORMX JAORMX merged commit e3a1332 into main May 19, 2026
6 of 7 checks passed
@JAORMX JAORMX deleted the jaosorior/bump-libkrun-1.18.0 branch May 19, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants