Skip to content

chore(vm): bump libkrun to v1.19.4 and libkrunfw to v5.6.1 - #3451

Merged
elezar merged 1 commit into
NVIDIA:mainfrom
benoitf:bump-libkrun-v1.19.4
Sep 18, 2026
Merged

elezar merged 1 commit into
NVIDIA:mainfrom
benoitf:bump-libkrun-v1.19.4

Conversation

@benoitf

@benoitf benoitf commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump libkrun from v1.17.4 to v1.19.4 and libkrunfw from commit 463f717b to v5.6.1
  • Update GitHub org from containers/ to libkrun/ for both repositories
  • Centralise LIBKRUN_REF in pins.env instead of hardcoding in each build script

Related Issue

Ref: #2585

libkrun v1.19.4 introduces krun_add_virtiofs4 with a permissions semantics parameter, enabling correct file ownership mapping on host-to-guest bind mounts.

Changes

  • pins.env: Update libkrunfw to v5.6.1 from libkrun/libkrunfw, add LIBKRUN_REF=v1.19.4 from libkrun/libkrun
  • build-libkrun.sh: Update clone URLs to new org, source LIBKRUN_REF from pins.env, remove obsolete make init/init step (libkrun@05c4eb7)
  • build-libkrun-macos.sh: Update clone URL to new org, add pins.env sourcing for consistency

Testing

  • FROM_SOURCE=1 mise run vm:setup succeeds on Linux (builds libkrunfw v5.6.1 + libkrun v1.19.4 from source)
  • mise run pre-commit passes
  • cargo build -p openshell-driver-vm compiles
  • Nix hashes updated after CI rebuild of vm-runtime artifacts

Checklist

  • Follows conventional commit format
  • No secrets or credentials committed
  • Changes scoped to the issue at hand
  • Signed off for DCO compliance

@copy-pr-bot

copy-pr-bot Bot commented Sep 18, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@elezar

elezar commented Sep 18, 2026

Copy link
Copy Markdown
Member

I think this is already covered in #3446, but yours does add some additional cleanups.

Comment thread crates/openshell-driver-vm/runtime/pins.env Outdated
The libkrun and libkrunfw projects moved from the containers/ GitHub
org to libkrun/. Update all clone URLs and version pins accordingly.

libkrun v1.19.4 introduces krun_add_virtiofs4 with a permissions
semantics parameter, enabling correct file ownership mapping on
host-to-guest bind mounts — required for issue NVIDIA#2585.

- libkrun: v1.17.4 → v1.19.4 (libkrun/libkrun)
- libkrunfw: 463f717b → v5.6.1 (libkrun/libkrunfw)
- Centralise LIBKRUN_REF in pins.env instead of hardcoding in each
  build script
- Source pins.env in the macOS build script for consistency with the
  Linux build script
- Remove the init/init make target step — since libkrun/libkrun@05c4eb7
  the init blob moved into the init_blob crate and is built by cargo

Ref: NVIDIA#2585
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
@benoitf
benoitf force-pushed the bump-libkrun-v1.19.4 branch from cd0250f to 5069f35 Compare September 18, 2026 11:59
@benoitf

benoitf commented Sep 18, 2026

Copy link
Copy Markdown
Contributor Author

I think this is already covered in #3446, but yours does add some additional cleanups.

depending on which PR is merged first, I will do a rebase if mine is second

@elezar
elezar enabled auto-merge September 18, 2026 12:59
@elezar

elezar commented Sep 18, 2026

Copy link
Copy Markdown
Member

/ok-to-test 5069f35

@elezar

elezar commented Sep 18, 2026

Copy link
Copy Markdown
Member

I think this is already covered in #3446, but yours does add some additional cleanups.

depending on which PR is merged first, I will do a rebase if mine is second

Let's get this in. I'll rebase the other one.

@elezar
elezar added this pull request to the merge queue Sep 18, 2026
Merged via the queue into NVIDIA:main with commit c5a8c4d Sep 18, 2026
57 checks passed
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