Skip to content

fix(bundle): Carry hvi 0.1.0-rc.2 - #37

Merged
ananos merged 1 commit into
mainfrom
build/hvi-0.1.0-rc.2
Oct 31, 2026
Merged

ananos merged 1 commit into
mainfrom
build/hvi-0.1.0-rc.2

Conversation

@ananos

@ananos ananos commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

hvi 0.1.0-rc.1 advertised RDRAND and RDSEED to x86 guests whatever the host CPU had. On a host without them -- a VM with a generic CPU model (kvm64, qemu64, Proxmox's x86-64-v2-AES) -- the guest kernel triple-faulted at its first rdrand, and every brig run ended in guest stopped: SystemReset. hvi is the default monitor of a generic boot on Linux, so brig v0.5.0 with rc19/rc20 does not boot there at all. A user hit this on a fresh Ubuntu 26.04 VM. hvi 0.1.0-rc.2 passes the host's bits through (brig-sh/hvi-vmm#343, #344).

Changes

  • scripts/build-bundle.sh: HVI_VERSION=0.1.0-rc.2, HVI_COMMIT=2ed8f61d..., both tarball shas
  • README, DESIGN.md, docs/variants.md: name the new release

Tested

scripts/fetch-hvi.sh with the new pins, locally:

fetch-hvi: hvi 0.1.0-rc.2 (2ed8f61dde8c20facd5f1a3668b170b07fb0eee1, x86_64-unknown-linux-musl), signature and sums verified
fetch-hvi: hvi 0.1.0-rc.2 (2ed8f61dde8c20facd5f1a3668b170b07fb0eee1, aarch64-unknown-linux-musl), signature and sums verified

The arm64 sha given for the amd64 tarball is refused and nothing is written. tests/fetch-hvi.sh passes (7/7) and shellcheck is clean. The release: the cosign bundle verifies against tag-release.yml@refs/tags/v0.1.0-rc.2, and is refused for the publish-binaries identity and for the rc.1 tag.

The fix was checked end to end before the tag, on a brig v0.5.0 root install in a fresh nested Ubuntu 26.04 VM with only hvi swapped: -cpu host,-rdrand, host,-rdseed and kvm64,+vmx reset or hung with rc.1 and boot with the fix, and the guest sees exactly the host's RDRAND/RDSEED. CI's bundle build on this branch is the gate for the bundle itself.

Release sequence

For rc21, together with the rootless installer changes already on main (#36). After the tag: brig's install.sh moves RUNTIME_VERSION to rc21, then the brig.sh /install pin.

hvi 0.1.0-rc.1 advertised RDRAND and RDSEED to x86 guests whatever the
host CPU had. On a host without them, as a VM with a generic CPU model
(kvm64, qemu64, x86-64-v2-AES) is, the guest kernel triple-faulted at
its first rdrand, and every brig run ended in "guest stopped:
SystemReset". hvi is the default monitor of a generic boot on Linux,
so brig v0.5.0 did not boot there at all. rc.2 passes the host's bits
through (brig-sh/hvi-vmm#343).

The tag, commit and both tarball shas move together. README, DESIGN.md
and docs/variants.md name the new release.

Signed-off-by: Anastassios Nanos <ananos@nofire.ai>
@ananos
ananos marked this pull request as ready for review October 31, 2026 23:44
@ananos
ananos merged commit 03f44fb into main Oct 31, 2026
5 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.

1 participant