Skip to content

qemu: 0007 goes, no release from v20261123.07 boots a bzImage (#660) - #702

Merged
aledbf merged 2 commits into
mainfrom
qemu-drop-0007
Nov 23, 2026
Merged

aledbf merged 2 commits into
mainfrom
qemu-drop-0007

Conversation

@aledbf

@aledbf aledbf commented Nov 23, 2026

Copy link
Copy Markdown
Member

Why

The goal is a cold boot to the first SSH login in under 100 ms, and a restore to the same login. QEMU 0007 (#646) earned −13 ms cold by mapping a bzImage given to -kernel. Since #645 (v20261123.07) the machine enters the vmlinux through PVH, and QEMU's ELF loader maps that file without 0007. No release from .07 on boots a bzImage, so 0007 serves nothing this machine runs. This is the part of #660 that can go now.

What

  • qemu/patches/0007 deleted. Other patches keep their numbers.
  • The QEMU build's check that a held machine maps a stub bzImage goes with it.
  • qemu/README.md's row and sanitize.yml's mention removed.
  • docs/boot-time.md: the row moves from "What the machine carries" to "Measured and rejected", with the numbers below. docs/log.md has the dated entry.

The bzImage and CONFIG_KERNEL_LZ4 stay. They wait on spin's hack/machine/place.go (spin-stack/spin#1689).

A release from .06 or before boots its bzImage with its own QEMU, which carries 0007. Only a lab tree that mixes a new QEMU with an old release's kernel pays the read again.

Measured

Bench, nested, spin's shape and login. v20261123.07 against the same release with QEMU built without 0007 (parts run 45256311661), 40 a side, interleaved.

Number Δp50 [95%] Lab
first login +3.6 [−3.3, +7.8] 45258887660
sshd accepting −1.6 [−6.7, +5.6] 45258887660
restored login, evicted −0.4 [−1.5, +0.9] 45258106255
restored login, cached −0.1 [−0.9, +0.9] 45258106255

All within noise, as #660 expected. Neither goal number moves.

Refs #660.

🤖 Generated with Claude Code

aledbf and others added 2 commits November 23, 2026 17:08
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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