Repository navigation
openvmm: pin microVM v8.0, reorganized onto upstream main - #2039
Merged
Pedro Henrique Penna (ppenna) merged 2 commits intoNov 23, 2026
Merged
Pedro Henrique Penna (ppenna) merged 2 commits into
Pedro Henrique Penna (ppenna) merged 2 commits into
Conversation
Pin the openvmm submodule to 899dcd63f, the head of the new feature/microvm/release/v8.0 branch of microsoft/openvmm. That branch reorganizes the 370-commit microVM chain of feature/microvm/dev, through the previous pin, 09524b79c, on its own base, microsoft/openvmm main at bf353460f, which upstream has not passed. It drops no commit, and nothing conflicts with upstream. The reorganization folds the 15 fixups of the v7.2 line into the commits that they fix, so the chain has 355 commits and each of them builds: the PR13 and PR18 fixups that pull requests added after v7.0, the v7.1 rebase's sha2 lock-file fixup, and the v7.2 rebase's fixups for microsoft/openvmm#4876, microsoft/openvmm#5080, microsoft/openvmm#5002, microsoft/openvmm#5040, and microsoft/openvmm#5082. Each commit that takes a fold keeps its author and date. Six later commits adapt to a folded change, and positions 301 and 304 take rustfmt's layout of a virt_kvm test, which cargo xtask fmt does not reach. That layout is the only difference between the pin's tree and the previous pin's. The vectors, excerpts, contract versions, and CPU profiles that nvx copies from OpenVMM match the pin. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The roadmap’s analysis still presents outdated v7.2 positions as current and directs contributors to perform completed folds, leaving submission guidance inconsistent with the v8.0 mapping.
1 open issue
What changed in this PR
This PR pins NVX to OpenVMM microVM v8.0, folding 15 fixups into their original commits on the unchanged upstream base. NVX code remains unchanged; the reported OpenVMM tree differences are limited to formatting two tests.
Changes:
- Advances the OpenVMM pin to the reorganized 355-commit chain.
- Updates roadmap hashes, positions, and PR counts, and documents the folds and validation.
| File | Description |
|---|---|
doc/openvmm-upstream-roadmap.md |
Maps the v8.0 chain and records folded fixups, historical positions, and validation results. |
Review effort: Balanced
The feature/microvm/release/v8.0 reorganization, which the previous commit pins, kept the 370-commit microVM chain on bf353460f and folded the 15 fixups at v7.2 positions 302, 316, 333, 335-340, 342, 345, 347, 349, 351, and 365 into the commits that they fix, so each later commit's position is its v7.2 position less the number of those fixups before it. Remap the scope, upstream status, graph, branch DAG, the commits after the mapped tip and their analyses, PR summary, and commit mapping onto the reorganized commits, naming each commit's v7.2 position, and drop the folded fixups from them: their analyses go, and the analyses that cite them cite the commits that took their changes. Record the reorganization: where each fixup went, the commits that adapt to a folded change, the rustfmt layout that positions 301 and 304 take, the range diff against the previous pin, and the per-commit validation on Linux and Windows. As of 2026-11-23, none of the open upstream pull requests has merged, and none that was closed has reopened. The pin, 899dcd63f, is position 355, 229 commits past the mapped tip. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pedro Henrique Penna (ppenna)
force-pushed
the
agents/nvx-rebase-openvmm-chain-reorganize-ready
branch
from
November 23, 2026 14:53
a2dd30e to
90e6923
Compare
Pedro Henrique Penna (ppenna)
enabled auto-merge
November 23, 2026 14:56
Pedro Henrique Penna (ppenna)
deleted the
agents/nvx-rebase-openvmm-chain-reorganize-ready
branch
November 23, 2026 17:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What does this pull request change?
This PR pins
openvmmto microVM v8.0. v8.0 is a major-version reorganization of the 370-commit microVM chain offeature/microvm/dev, which ends at NVX's previous pin09524b79c, on the same upstream base,bf353460f. Upstreammainhas not moved past that base, so the release drops no commit and nothing conflicts with upstream. The reorganization folds the 15 fixups of the v7.2 line into the commits that they fix, so the chain shrinks to 355 commits, and every one of them builds:sha2lock-file fixup, and the five fixups of the v7.2 rebase. The table under OpenVMM pin says where each one went. Each commit that takes a fold keeps its author and date, and its message lists the subjects that it folds. Every folded fixup has the same author as the commit that it went into.virt_kvm.cargo xtask fmtnever reaches those files, becausevirt_kvm/src/arch.rsdeclaresmod x86_64insidecfg_select!. The v7.2 rebase reported this drift and left it for this reorganization. This layout is the only difference between the pin's tree and the previous pin's tree: 5 lines added and 8 removed, all in two tests.NVX's code does not change. The vectors, excerpts, contract versions, and CPU profiles that
nvxcopies from OpenVMM match the pin.dfd53503986): movesopenvmmfrom09524b79cto899dcd63f, and nothing else.90e6923c219): remapsdoc/openvmm-upstream-roadmap.mdonto the reorganized commits, the analyses of the commits after the mapped tip included: it drops the analyses of the folded fixups, and the analyses that cited them now cite the commits that took their changes. It renumbers every position after the first fold, and it records where each fold went in a new section, The v8.0 reorganization. The commit mapping and the table of later commits now name each commit's v7.2 position and drop the folded fixups. The open upstream pull requests are dated 2026-11-22: none merged, and none that closed reopened.Start with OpenVMM pin below, then the roadmap's The v8.0 reorganization.
Landed in OpenVMM:
feature/microvm/release/v7.2was fast-forwarded to the previous pin,09524b79c, andfeature/microvm/devnow points to the pin,899dcd63f; see Landing order.Left out: this PR leaves out a fix for the VPCI relay's hot-add race, which makes OpenVMM's
vpci_relay_hot_removetest fail intermittently (see OpenVMM CI below). The race predates this release.Limitation: none in behavior. Apart from the layout of two tests, the pin's tree is the previous pin's, so no ABI, snapshot format, or wire format changes. What changes is the history: positions after 047 move, and commits that took a fold have new contents.
Why is this change needed?
The v7.2 line carried 15 fixups that the roadmap assigned to earlier commits "at the next reorganization":
The reorganization folds each fix into the commit that introduced the code that it fixes. Every commit then builds on upstream
main, and each roadmap PR carries its own fixes. Upstreammainhas not moved since the v7.2 base, so reorganizing on the same base keeps the folds apart from any upstream change. The tree check shows that the reorganization changes no behavior.A release completes no issue, so this pull request carries the
no-issuelabel.How was this change validated?
OpenVMM
Chain:
python scripts\openvmm_release.py check-chain --dir <v8.0 worktree> --new-base bf353460f --old-base bf353460f --old-head 09524b79cpasses. It shows 355 commits, 0 merges, and 355 good SSH signatures. Range diff: ==317, !=38, <15, >0.Per-commit: check-commits' commands ran at every one of the 355 commits:
rustfmt --check --edition 2024on the Rust files that the commit changes;cargo check --locked --workspace --all-targets;cargo xtask fmt --pass lints;cargo xtask fmt --pass verify-flowey.They ran incrementally in one checkout per host, with Rust 1.97.1:
vtpm_utilincluded): all 355 commits pass. Two runs failed for reasons outside the code and passed when run again: position 003 ran out of disk space, and at position 121 thems-tcg-tpm-sysbuild script hit a Windows file-sharing violation (os error 32) while copying a file.At the head (
899dcd63f), with Rust 1.97.1:cargo xtask fmtpasses every pass on Linux and Windows, verify-flowey among them.cargo clippy --workspace --all-targets -- -D warningspasses on Linux. On Windows, it passes withoutguest_test_uefi,opentmk_executor, andvtpm_util.cargo nextest run --locked -p consomme -p kvm -p net_backend_resources -p net_consomme -p openvmm_core -p openvmm_defs -p openvmm_entry -p openvmm_helpers -p openvmm_ttrpc_vmservice -p pal -p petri -p virt -p virt_kvm -p virt_mshv -p virt_mshv_vtl -p virt_support_x86emu -p virtiofs -p x86defspasses 1685 of 1685 tests (69 skipped).cargo doc --no-depspasses for the same packages.virt_whpin place of the Linux-only packages, passes 1491 of 1491 tests (23 skipped).cargo xflowey vmm-tests-run --filter "test(microvm)"passes 7 of 7 on KVM, in Ubuntu on WSL2 (213 skipped), including the two ttrpc microVM tests. On WHP, on Windows 11, it passes 7 of 7 (505 skipped).Tree:
git diff 09524b79c 899dcd63fshows only the two test layouts above, invmm_core/virt_kvm/src/arch/x86_64/smm.rsandmsr_state.rs.OpenVMM CI: Run 45128269465, at
899dcd63f:python scripts\nvx.py check-openvmm-cipasses. All six required jobs passed:On the first attempt, 33 of the run's 37 jobs passed, one was skipped, and three failed:
run vmm-tests [x64-windows-amd](required).x86_64::openvmm_openhcl_linux_x64_vpci_relay_hot_removetimed out after OpenHCL panicked atvm/devices/vmbus/vmbus_channel/src/simple.rs:234,assert!(self.running)inSimpleDeviceWrapper::open. This is a race between the guest and OpenHCL's device start:start_stopped_unitsstarts the bus's state unit. A guest that opens the channel first reaches a device that has not started.ConfirmStartafterStartbefore a unit's dependants start (position 213, refined at position 236).feature/microvm/devat5c82edac4,21b1a55d0,eff41b13f, and6323fa7b9, and this run. It passed in the other 20, the previous pin09524b79camong them.run vmm-tests [x64-windows-intel-tdx](not required). The fourmultiarch::tpm::*_tdx_hw_ak_stableand*_tdx_hw_seal_hashtests fail because OpenHCL cannot derive keys when hardware sealing is required. On the TDX runner that this job used, the same four tests fail with the same error for virtio: Notify guests of runtime config changes openvmm#5150 (run 44921582020), which is upstream code without the chain. The TDX jobs that passed for the previous pin and for upstreammainatbf353460fran on other runners.run vmm-tests [x64-windows-amd-snp](not required).snp_seal_signerandsnp_vmbus_relaytime out after the runner's Hyper-V could not stop a VM that an earlier test had left. On the same SNP runner, the job also fails by timeouts for upstreammainatbf353460f(run 44846463125,snp_seal_signer) and for the previous pin (run 45060720197, four tests).NVX
python scripts\nvx.py verifypasses.python scripts\openvmm_pin.py check-roadmappasses (355 positions, 357 references).python scripts\openvmm_pin.py check-branch --target origin/devpasses: two verified commits, standalone, no coordinated files.python scripts\check_markdown_links.pyandgit diff --check origin/dev HEADpass.python scripts\local_gates.py --base origin/dev --runpasses the seven gates that it selects at this head:NVXset to a release build ofnvxat this head. It passed 2314 tests (89 skipped) and 84 tests (11 skipped).On the gate's first pass, under load from other builds on the workstation, one test with a 3-second deadline,
test_measure_once_returns_when_a_descendant_keeps_the_output_open, timed out. It passes alone, and a second run of the nvx-cli gate passed.test-microvmat this head, on each backend. On each host,nvx downloadinstalled releasev0.1.0-dev.ebd6357166f1, this head's nearest released ancestor, andpython3 scripts/nvx.py build-openvmm --backend BACKENDthen built OpenVMM at the pin. Eachbuild/openvmm.provenance.jsonnames899dcd63fwith a clean source, and each binary's SHA-256 changed from the release's.NVXnamed a release build ofnvxat this head.python3 scripts/nvx.py test-microvm --backend kvmpasses 58 of 58 scenario runs.--backend mshvpasses 58 of 58.--backend whppasses 60 of 60.NVX-CPU-PROFILE-FALLBACKwarning.console-exit, and the other 2 of 4 insmp.console-exitat 8 vCPUs then passed on its own. Apart from two KVM tests, the pin's OpenVMM source is the previous pin's, and the WHP test VM passes every scenario.Backend, host OS, host type, and guest:
v0.1.0-dev.ebd6357166f1(v0.1.0-dev.42ba1e84ed19on the workstation), and OpenVMM's own test guests for the VMM tests.Left to CI:
NVX CI at this head,
90e6923c219: run 45199136913 passed on its second attempt, 34 jobs passed and 8 skipped,Required status checkamong them.nvx / windows-latestfailed one test,sandbox_run::a_runs_warnings_start_lines_of_their_own_after_its_workloads_output, witherror[timed-out]: NVXS I/O failed: timed out. The test runsnvx sandbox run --timeout 1against a fake OpenVMM, and that 1-second deadline also bounds the readiness check and the exec. On the loaded runner, one of them missed it before the workload's output arrived.clisuite passed. No other CI run since November 12 failed asandbox_runtest on any attempt.a2dd30e374b, which pinned the same OpenVMM revision and differs only in the roadmap's prose, had passed too: run 45146358333.Checklist
python3 scripts/check_test_layout.pychecks.python3 scripts/check_test_changes.py --base origin/devlists no changeto an existing test, or a Changes to existing tests section below
explains each one.
.github/copilot-instructions.mdand the skills when a convention orworkflow changes.
nvxupdatesnvx/public-api/withpython3 scripts/public_api.py --update.description says how the change versions or migrates them.
The pin changes no NVX code, tests, or public API. The roadmap is the only documentation that it affects. Apart from the layout of two OpenVMM tests, the pin's tree is the previous pin's, so the snapshot manifest, contract versions, and vectors that
nvxchecks still match it.OpenVMM pin
OpenVMM source
899dcd63f81e9fd40d1585cb50c60f22afed7a46, position 355. It is the head offeature/microvm/release/v8.0, a new branch.09524b79c, the head offeature/microvm/dev. It holds the 339 commits offeature/microvm/release/v7.2(b51f9156c) and the 31 that OpenVMM pull requests merged after it.mainatbf353460f(2026-11-21), the v7.2 base.mainsince: no commits;bf353460fis still upstream's head.feature/microvm/dev: [DO NOT REVIEW] microvm: enable governed ARM64 cold boot on WHP openvmm#5045 and the draft [DO NOT REVIEW] cpu_profile: add NVIDIA N1X WHP profile openvmm#5096 are not part of this release. Oncefeature/microvm/devmoves, they need a rebase onto it. NVX has no other open pull request that moves the gitlink.What changed in OpenVMM
No drops and no conflicts:
openvmm_release.py dropsfinds no upstream commit since the base and no chain commit whose patch upstream carries.15 folds. Each fixup went into the commits that build what it fixes, re-expressed for the code that those commits have. A v7.2 position counts in
feature/microvm/devat09524b79c.8d71cff3a- microVM: refuse a decoded network identity other than the derived one335ebf312- cpu_profile, openvmm_helpers: name sha2 as upstream's lock file does2dbfb495a- virtiofs: preflight a microVM object of another file type as a new node8d989e670- microVM: adapt virtio-fs to upstream's Windows impersonation5dbe25966- virt_support_x86emu: convert exception codes with u16::fromd22ea2c5a- vmservice: refuse virtio-fs mount options on a microVM942eeeda1- openvmm_entry: keep the microVM sandbox blocks' fixed queue shapeb51f9156c- openvmm_entry: build with_big_stack only where it runs32888344a- virtiofs: keep node names when renaming a name onto itself5c82edac4- virtiofs: bound microVM directory snapshots in total when listing8986cc537- virtiofs: stop failed microVM READDIRPLUS from leaking lookup referencesa533d6a55- virtiofs: refuse device nodes and whiteouts on a microVM share2a483a06f- virtiofs: keep node names when renaming one hard link onto another8bea555db- virtiofs: skip gone or hidden entries in microVM READDIRPLUS78ddb8044- virtiofs: restart a restored microVM's handles at 1 on a resetAdapted commits.
mount_optionsandwindows_optionsat fields 5 and 6.num_queuesin theDiskClithat it moves.write_microvm_entry_plusits finallookup_childform.What changed in NVX
The gitlink and the roadmap, as What does this pull request change? describes. The comparisons of what
nvxcopies from OpenVMM pass at the pin: theopenvmm-vectorsandopenvmm-cpu-profilesgates above. So the gitlink commit carries no coordinated change.Equivalence
Patches:
git range-diff bf353460f..09524b79c bf353460f..899dcd63fpairs the 355 kept commits in order:It lists the 15 folded fixups on the old side alone, and nothing on the new side alone. No commit is reordered.
Tree: the pin's tree equals the previous pin's, apart from rustfmt's layout of two
virt_kvmtests: 5 lines added and 8 removed.Roadmap positions
c6e62f286. The pin is position 355, 229 commits past it, and positions 127-355 are not yet assigned to roadmap PRs.Landing order
Done: OpenVMM CI run 45128269465 passed NVX's six required jobs on
899dcd63f, one of them on a second attempt; see OpenVMM CI above.Done:
feature/microvm/release/v7.2was fast-forwarded fromb51f9156cto the previous pin,09524b79c, without force. Every revision of the old line that NVX pinned then stays on a branch thatgit submodule updateof an older NVX commit can fetch.Done:
feature/microvm/devmoved from09524b79cto the pin,899dcd63f, with a lease on09524b79c, because.gitmodulestracks that branch. Steps 2 and 3 ran as one command:python scripts/openvmm_release.py land --remote upstream --old-head 09524b79c7e857c6c4c7a287ecf56d290ae79a8b --new-head 899dcd63f81e9fd40d1585cb50c60f22afed7a46 --prev-release feature/microvm/release/v7.2 --pushIt checked first that
feature/microvm/devhad not moved since the release was cut.Done: this PR merged through the merge queue at 17:58:37 UTC on November 23, 2026, as
6378cb5fb76, once its merge group's run 45226595943 passed. [DO NOT REVIEW] microvm: enable governed ARM64 cold boot on WHP openvmm#5045 and [DO NOT REVIEW] cpu_profile: add NVIDIA N1X WHP profile openvmm#5096 now need a rebase ontofeature/microvm/dev.NVX head:
90e6923c219b0af26e54028e4ac15c06753c52b1, ondevatafcfdc641f8.