Skip to content

Commit 8bfe42a

Browse files
ppennaCopilot
andcommitted
doc: map new microVM objects that take the last node ID in the OpenVMM roadmap
Map position 389, the commit of microsoft/openvmm#5281, which NVX now pins at 350018ce4, 263 commits past the mapped tip, on 1633b3797, position 388, the head of feature/microvm/dev since microsoft/openvmm#5280 landed positions 386-388: - 389, virtiofs: let a new microVM object take the last node ID. The insert of the node of an object that FUSE_MKDIR, FUSE_MKNOD, FUSE_SYMLINK, or FUSE_CREATE makes, with the node ID that the request reserved before it made the object, no longer requires that the table can hand out another node ID, so that the object takes the last node ID, u64::MAX - 1, rather than stay on the host without a node after the request fails with ENOSPC (#2135). The inode and alias limits still apply to that insert. Position 389 is a PR18 fixup. It fixes a defect of PR18's position 081, whose InodeReservation::insert check required another free node ID, which position 083's restore makes reachable and position 350 moved to u64::MAX - 1, and it needs nothing that a later position adds but, for its test, position 350's table and position 164's helpers. Fold it into position 081, where its changes of lib.rs and limits.rs apply as they are, as git merge-tree shows, and its test into position 350, where only the imports conflict: at 301937559, position 350, with the fix and the test so placed, the virtiofs tests pass on Windows, and without the fix the test fails. The Scope, the DAG, the fold sentences, the PR summary, the dependency graph, and the commit mapping record the fixup. Of positions 372-388, only 385 changes one of its files, fs_tests.rs. Upstream main, 8d4e03132, lacks the defect, since it lacks the microVM's limits, and replaying the commit there conflicts in lib.rs and in the microVM's limits.rs and fs_tests.rs, so it follows PR18 upstream. The Scope also records that microsoft/openvmm#5277, microsoft/openvmm#5278, microsoft/openvmm#5279, and microsoft/openvmm#5280 have landed positions 383-388 on feature/microvm/dev. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 7c0741d commit 8bfe42a

1 file changed

Lines changed: 66 additions & 22 deletions

File tree

‎doc/openvmm-upstream-roadmap.md‎

Lines changed: 66 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
[Upstream status](#upstream-status).
1010
- Mapped fork tip: `c6e62f286b2879ca87da42e46de2fee887231d08`, position 126. The graph, PR
1111
summary, and commit mapping below cover positions 001-126, the PR20 fixups at positions 375 and
12-
376, and the PR25 fixup at position 377.
13-
- NVX's pinned OpenVMM revision: `1633b3797af878bc9a7c42e4b9c57a2925799d5d`, position 388, the head
14-
of microsoft/openvmm#5280, whose commits follow position 385, `043083f40`, the head of
15-
microsoft/openvmm#5279, whose commit follows position 384, `44747bf1c`, the head of
16-
microsoft/openvmm#5278, whose commit follows position 383, `fa239c823`, the head of
17-
`feature/microvm/dev` since microsoft/openvmm#5277 landed it on position 382, `acfaa5199`, where
12+
376, the PR25 fixup at position 377, and the PR18 fixup at position 389.
13+
- NVX's pinned OpenVMM revision: `350018ce4335ba60ad722852f4004f90674f69e9`, position 389, the head
14+
of microsoft/openvmm#5281, whose commit follows position 388, `1633b3797`, the head of
15+
`feature/microvm/dev` since microsoft/openvmm#5280 landed positions 386-388 on position 385,
16+
`043083f40`, where microsoft/openvmm#5279 had landed position 385 on position 384, `44747bf1c`,
17+
where microsoft/openvmm#5278 had landed position 384 on position 383, `fa239c823`, where
18+
microsoft/openvmm#5277 had landed position 383 on position 382, `acfaa5199`, where
1819
microsoft/openvmm#5275 and microsoft/openvmm#5276 had landed positions 381 and 382 on position
1920
380, `32e824728`, where microsoft/openvmm#5271, microsoft/openvmm#5272, and
2021
microsoft/openvmm#5273 had landed positions 378-380 on position 377, `3f5506f9d`, where
@@ -33,9 +34,10 @@
3334
commits that they fix, so each later commit's position is its v7.2 position less the number of
3435
those fixups before it; see [The v8.0 reorganization](#the-v80-reorganization). The tree of
3536
`899dcd63f` differs from the tree of `09524b79c` only in rustfmt's layout of two `virt_kvm`
36-
tests. The pin is 262 commits past the mapped tip on the same first-parent chain. Positions
37-
127-374 and 378-388 are not yet assigned to PRs, positions 375 and 376 are PR20 fixups, and
38-
position 377 is a PR25 fixup; see [Commits after the mapped tip](#commits-after-the-mapped-tip).
37+
tests. The pin is 263 commits past the mapped tip on the same first-parent chain. Positions
38+
127-374 and 378-388 are not yet assigned to PRs, positions 375 and 376 are PR20 fixups, position
39+
377 is a PR25 fixup, and position 389 is a PR18 fixup; see
40+
[Commits after the mapped tip](#commits-after-the-mapped-tip).
3941
- Upstream main: `bf353460ff70e4a65627bb7003bed2cad1ce121f` (2026-11-21), the fork base; see
4042
[Upstream main past the fork base](#upstream-main-past-the-fork-base).
4143

@@ -1544,7 +1546,7 @@ flowchart TB
15441546
P15["PR15<br/>Machine profile<br/>P - 11 commits"]
15451547
P16["PR16<br/>Fixed virtio-MMIO ABI<br/>P - 4 commits"]
15461548
P17["PR17<br/>Capture + authoritative restore<br/>P - 11 commits"]
1547-
P18["PR18<br/>Host attachments<br/>P - 10 commits"]
1549+
P18["PR18<br/>Host attachments<br/>P - 10 commits + 1 fixup"]
15481550
P19["PR19<br/>Block roles + tiers<br/>N/P - 3 commits"]
15491551
P20["PR20<br/>Restore activation<br/>P - 7 commits + 2 fixups"]
15501552
P21["PR21<br/>Network egress policy<br/>P/N - 6 commits"]
@@ -1798,7 +1800,8 @@ bf353460f
17981800
-> failed io-uring set-ups reported with their error rather than as no support [384]
17991801
-> microVM listing bounds that count only the entries that the policy shows [385]
18001802
-> gdb stub sessions that detach the debugger from the VM however they end [386-388]
1801-
-> 1633b3797 (NVX pin)
1803+
-> PR18 fixup [389]
1804+
-> 350018ce4 (NVX pin)
18021805
```
18031806

18041807
For upstream review, PR01-PR03, PR05, PR06, and PR14 can be rebased independently onto current
@@ -1829,31 +1832,33 @@ the restore readiness event of a gated restore that it corrects and the document
18291832
sentence that calls that option no hotplug API into position 142, which rewraps the sentence that
18301833
position 092 adds. Fold position 377 into PR25's position 119, which adds the management RPC
18311834
reference's passage on the readiness event and the comment of `restore_processor_count` that it
1832-
corrects.
1835+
corrects. Fold position 389 into PR18's position 081, whose `InodeReservation::insert` check of a
1836+
reserved node's insert required another free node ID, and its test into position 350, whose node
1837+
table never hands out `u64::MAX`, after that position's test of the largest next node ID.
18331838

18341839
## Commits after the mapped tip
18351840

1836-
The NVX pin extends the chain past position 126 without merges. Of its 262 later commits, positions
1837-
375 and 376 are PR20 fixups, position 377 is a PR25 fixup, and the others are not yet classified or
1838-
assigned to PRs.
1841+
The NVX pin extends the chain past position 126 without merges. Of its 263 later commits, positions
1842+
375 and 376 are PR20 fixups, position 377 is a PR25 fixup, position 389 is a PR18 fixup, and the
1843+
others are not yet classified or assigned to PRs.
18391844
Each of positions 127-181 combines the v2.4 commits that the table lists, as v3.0 positions 145-160
18401845
and 162-200 did, which developed one concept; "(part)" marks a v2.4 fixup that split across
18411846
commits. Positions 182-186 followed the v3.0 reorganization, positions 187-200 are the ABI restart
18421847
of the v4.0 reorganization, positions 201-206 followed it, positions 207-213 followed the v5.0
18431848
reorganization, positions 214 and 215 followed the v5.1 rebase, positions 216-253 followed the
18441849
v6.0 reorganization, positions 254-296 followed the v6.1 rebase, positions 297-314 followed the
18451850
v7.0 reorganization, positions 315-331 followed the v7.1 rebase, positions 332-355 followed the
1846-
v7.2 rebase, and positions 356-388 followed the v8.0 reorganization, so they combine none, apart
1851+
v7.2 rebase, and positions 356-389 followed the v8.0 reorganization, so they combine none, apart
18471852
from position 215, which combines v5.1 positions 222 and 223, and the commits that the v7.0 and
18481853
v8.0 reorganizations folded into them. The table gives each commit's v7.2 position, which through
18491854
position 301 is its own, since the v8.0 reorganization folded v7.2 positions 302, 316, 333,
1850-
335-340, 342, 345, 347, 349, 351, and 365, and which positions 356-388 lack.
1855+
335-340, 342, 345, 347, 349, 351, and 365, and which positions 356-389 lack.
18511856
Each commit through v7.2 position 316 has the position that it had in v7.0 and v7.1, and each of
18521857
v7.2 positions 317-334 is its v7.1 position less one, since the v7.2 rebase dropped v7.1 position
18531858
317, upstream's microsoft/openvmm#5160, which v7.1 had backported. Each commit's v6.1 position is
18541859
its v6.0 position less seven, the number of commits that the v6.1 rebase dropped before it, and
18551860
its v6.0 position is its v5.1 position through 147 and one less from v5.1 position 149 on, and
1856-
positions 297-388 have no position before v7.0; see
1861+
positions 297-389 have no position before v7.0; see
18571862
[The v8.0 reorganization](#the-v80-reorganization),
18581863
[Conflicts of the v7.2 rebase](#conflicts-of-the-v72-rebase),
18591864
[The v7.0 reorganization](#the-v70-reorganization),
@@ -2130,6 +2135,7 @@ whose first 269 commits are those of `feature/microvm/release/v6.1`, a v6.0 posi
21302135
| 386 | `f06060dfe` | - | - | - | - | - | - | - | vmm_core: forget a debugger's halt reports when it detaches (microsoft/openvmm#5280) |
21312136
| 387 | `320e09cf5` | - | - | - | - | - | - | - | vmm_core: clear VP debug state on detach only if the debugger set it (microsoft/openvmm#5280) |
21322137
| 388 | `1633b3797` | - | - | - | - | - | - | - | debug_worker: detach the debugger when its session ends (microsoft/openvmm#5280) |
2138+
| 389 | `350018ce4` | - | - | - | - | - | - | - | virtiofs: let a new microVM object take the last node ID (microsoft/openvmm#5281); fold into 081, its test into 350 |
21332139

21342140
The remarks that say whether commits apply to upstream main record what was found on upstream main
21352141
when each commit was mapped: the v3.0 reorganization's base, `b2676222b`, for the commits that it
@@ -2143,7 +2149,7 @@ for positions 325 and 326, `bf353460f`, upstream main on 2026-11-21 and the fork
21432149
v8.0, for positions 327-355, `b50d0c979`, upstream main later on 2026-11-23, for position 356,
21442150
`5d6ab1cfa`, upstream main later that day, for positions 357-368, `efe0b08df`, upstream main later
21452151
still, for positions 369-375, and `8d4e03132`, upstream main on 2026-11-24, for positions
2146-
376-388. They name the positions that the commits have now, but neither
2152+
376-389. They name the positions that the commits have now, but neither
21472153
the v8.0 reorganization and the v7.2 rebase, both on `bf353460f`, the v7.1 rebase on `9a875b563`,
21482154
nor the v7.0 reorganization on `e6b458cc0` checked them again, nor did the v6.1 rebase check the
21492155
earlier ones on `7d90c4104`.
@@ -5829,6 +5835,43 @@ lacks position 372's documentation of `Break`; position 388's changes of the deb
58295835
Guide apply there, but its documentation of `Detach` extends position 386's, so they cannot go
58305836
upstream on their own.
58315837

5838+
Position 389 lets the object that a microVM `FUSE_MKDIR`, `FUSE_MKNOD`, `FUSE_SYMLINK`, or
5839+
`FUSE_CREATE` makes take the last node ID that the node table hands out, `u64::MAX - 1`
5840+
(microsoft/nvx#2135). Such a request reserves its object's node ID before it makes the object, so
5841+
that a full table refuses it before the host changes, and PR18's position 081 has upstream's
5842+
`InodeReservation::insert` check the insert of the object's node against the microVM's limits with
5843+
`preflight_microvm_insert`, which, for a node of its own, also requires that the table can hand out
5844+
its next node ID, although the reservation has already taken that ID. After a reservation of the
5845+
last node ID, the insert thus failed with `ENOSPC` once the object was on the host, which left the
5846+
object there without a node, and each retry under another name left another. Position 083's
5847+
restore, which accepts any next node ID above the saved ones, reaches that state, and position 350,
5848+
whose `can_insert` never hands out `u64::MAX`, moved it from a reservation of `u64::MAX` to one of
5849+
`u64::MAX - 1`. A reserved insert now uses the new `preflight_microvm_reserved_insert`, which skips
5850+
only that check and keeps the inode and alias limits; the checks that run before the host changes,
5851+
and the inserts without a reservation, still make it. In `lib.rs`, it changes the call that
5852+
position 081 adds to `InodeReservation::insert`, which `389e4e57a` (microsoft/openvmm#4594) adds;
5853+
PR06's position 010, PR13's position 048, PR18's positions 081 and 083, PR27's position 126, and
5854+
positions 158, 160, 164, 320, 329, 330, 334, 335, 342, 343, 350, 352, 358, and 361 also change the
5855+
file. In the microVM's `limits.rs`, which PR18's position 081 adds and PR27's position 126 and
5856+
positions 160 and 334 also change, it splits position 081's `preflight_microvm_insert` and
5857+
`preflight_microvm_new_inode` around that check, keeping position 334's use of `InodeMap::reused`.
5858+
It adds a test to the microVM's persistence tests, after position 350's
5859+
`largest_restored_next_node_id_is_never_handed_out`, which PR18's positions 081 and 083, PR22's
5860+
position 102, and positions 164, 329-331, 335, 350, 354, 355, 362, 363, 367, 371, and 385 also
5861+
change; it restores a state with position 083's restore and makes its objects with the helpers that
5862+
position 164 shares from the policy tests. It follows position 388; of positions 372-388, only 385
5863+
changes one of its files, `fs_tests.rs`, where it adds another test. It fixes a defect of PR18's
5864+
position 081 and needs nothing that a later position adds but, for its test, position 350's table,
5865+
whose last node ID is `u64::MAX - 1`, and position 164's helpers, so it is a PR18 fixup: fold it
5866+
into position 081, where its changes of `lib.rs` and `limits.rs` apply as they are, since position
5867+
334 changes only a line of their context, and its test into position 350, after that position's
5868+
test of the largest next node ID, with the imports of `lookup` and `release` that position 362 then
5869+
no longer adds. At position 350 with the fix and the test so placed, the package's tests pass on
5870+
Windows, and without the fix the test fails as it does at position 388. Upstream main, `8d4e03132`,
5871+
lacks the defect, since it lacks the microVM's limits, and replaying the commit there conflicts in
5872+
`lib.rs`, whose `InodeReservation::insert` lacks position 081's check, and in the microVM's
5873+
`limits.rs` and `fs_tests.rs`, which upstream main lacks, so it follows PR18 upstream.
5874+
58325875
## PR summary
58335876

58345877
Each count is of v8.0 commits, which include the fixups that the v3.0, v4.0, v5.0, v6.0, v7.0, and
@@ -5858,7 +5901,7 @@ v8.0 reorganizations folded into them; see [The v8.0 reorganization](#the-v80-re
58585901
| PR15 | P | microVM machine profile and minimal chipset | 050-060 | `abeabf34d..2dd8e1e92` | 11 | Foundation fan-in |
58595902
| PR16 | P | Fixed virtio-MMIO ABI and shared interrupt status | 061-064 | `f5753d818..e8369480d` | 4 | PR15 |
58605903
| PR17 | P | microVM snapshot capture and authoritative restore | 065-075 | `548bf2ec2..464aa9d27` | 11 | PR16 |
5861-
| PR18 | P | microVM host attachments and device persistence | 076-085 | `d3d2a088f..77eebd10f` | 10 | PR17 |
5904+
| PR18 | P | microVM host attachments and device persistence | 076-085; 389 (fixup) | `d3d2a088f..77eebd10f`; `350018ce4` | 11 | PR17 |
58625905
| PR19 | N/P | Sandbox block roles and snapshot tiers | 086-088 | `6830760b7..ce4ead69a` | 3 | PR18 |
58635906
| PR20 | P | Restore-time processor and memory activation | 089-095; 375-376 (fixups) | `16b103720..e960c809b`; `d44a113be..c440ce3cc` | 9 | PR19 |
58645907
| PR21 | P/N | Network egress policy | 096-101 | `8db534880..de90ec83b` | 6 | PR20; core can start after PR13 |
@@ -5876,7 +5919,7 @@ Each entry, at the position that the commit had in v7.0, v7.1, and v7.2 too, nam
58765919
position of the commit, its v6.0 position, which it had in v5.0 and v5.1 too, the v4.0 position,
58775920
the v3.0 and v2.4 positions that v4.0 recorded, and the v2.4, v5.1, v6.1, and v7.2 fixups that it
58785921
folds; "(part)" marks a fixup that split across commits. Positions 016 and 017, which followed
5879-
the v6.0 reorganization and the v6.1 rebase, and positions 375-377, which followed the v8.0
5922+
the v6.0 reorganization and the v6.1 rebase, and positions 375-377 and 389, which followed the v8.0
58805923
reorganization, name their OpenVMM pull request instead of earlier positions. A v7.2 position
58815924
counts in `feature/microvm/dev` at `09524b79c`, whose first 339
58825925
commits are those of `feature/microvm/release/v7.2`. A v6.1
@@ -6190,7 +6233,7 @@ Landed upstream and dropped from the chain:
61906233
</details>
61916234

61926235
<details>
6193-
<summary><strong>PR18 - microVM host attachments and device persistence (P)</strong> - 10 commits</summary>
6236+
<summary><strong>PR18 - microVM host attachments and device persistence (P)</strong> - 11 commits</summary>
61946237

61956238
- 076 `d3d2a088f` - openvmm_entry: add connect= serial backends with bounded timeouts (v6.1 074, v6.0 081, v4.0 085, v3.0 094, v2.4 094; folds v2.4 144)
61966239
- 077 `429d01c0f` - openvmm: persist the microVM boot console and rebuild its attachment on restore (v6.1 075, v6.0 082, v4.0 086, v3.0 095, v2.4 095)
@@ -6202,6 +6245,7 @@ Landed upstream and dropped from the chain:
62026245
- 083 `6315c16c5` - virtiofs: persist microVM FUSE namespaces, handles, and directory cookies (v6.1 081, v6.0 088, v4.0 092, v3.0 101, v2.4 101; folds v2.4 335 (part), v6.1 240 (part), and v7.2 333 (part), 342 (part), 345, 351 (part), and 365 (part))
62036246
- 084 `e6ce5a654` - openvmm: snapshot the microVM filesystem and revalidate it on restore (v6.1 082, v6.0 089, v4.0 093, v3.0 102, v2.4 102)
62046247
- 085 `77eebd10f` - openvmm: reserve a dormant microVM filesystem slot (v6.1 083, v6.0 090, v4.0 094, v3.0 103, v2.4 103; folds v2.4 335 (part), and v7.2 335 (part) and 347 (part))
6248+
- 389 `350018ce4` - virtiofs: let a new microVM object take the last node ID (microsoft/openvmm#5281; **fold into 081**, its test into 350)
62056249

62066250
</details>
62076251

0 commit comments

Comments
 (0)