Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 30 additions & 19 deletions doc/openvmm-upstream-roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@
- Mapped fork tip: `c6e62f286b2879ca87da42e46de2fee887231d08`, position 126. The graph, PR
summary, and commit mapping below cover positions 001-126, the PR20 fixups at positions 375 and
376, the PR25 fixup at position 377, and the PR18 fixups at positions 389, 393, and 396.
- NVX's pinned OpenVMM revision: `5f4a47b83591ccbcc4f9a2563b5322603def625b`, position 398, the head
of microsoft/openvmm#5290, whose commit follows position 397, `a79b4bb40`, the head of
microsoft/openvmm#5289, whose commit follows position 396, `1495ac815`, the head of
microsoft/openvmm#5288, whose commit follows position 395, `4aeb405d9`, the head of
microsoft/openvmm#5287, whose commit follows position 394, `9822f732a`, the head of
microsoft/openvmm#5286, whose commit follows position 393, `5af753b17`, the head of
microsoft/openvmm#5285, whose commit follows position 392, `e61fa5326`, the head of
microsoft/openvmm#5284, whose commit follows position 391, `c7f6a04fd`, the head of
microsoft/openvmm#5283, whose commit follows position 390, `770bc61e7`, the head of
`feature/microvm/dev` since microsoft/openvmm#5282 landed position 390 on position 389,
`350018ce4`, where microsoft/openvmm#5281 had landed position 389 on position 388,
- NVX's pinned OpenVMM revision: `ee66d23117a9ebdd358686d8d9bacd1218d7dac0`, position 399, the head
of microsoft/openvmm#5293, a cherry-pick of upstream's microsoft/openvmm#5291, whose commit
follows position 398, `5f4a47b83`, the head of `feature/microvm/dev` since
microsoft/openvmm#5283, microsoft/openvmm#5284, microsoft/openvmm#5285, microsoft/openvmm#5286,
microsoft/openvmm#5287, microsoft/openvmm#5288, microsoft/openvmm#5289, and
microsoft/openvmm#5290 landed positions 391-398 on position 390, `770bc61e7`, where
microsoft/openvmm#5282 had landed position 390 on position 389, `350018ce4`, where microsoft/openvmm#5281 had landed position 389 on position 388,
`1633b3797`, where microsoft/openvmm#5280 had landed positions 386-388 on position 385,
`043083f40`, where microsoft/openvmm#5279 had landed position 385 on position 384, `44747bf1c`,
where microsoft/openvmm#5278 had landed position 384 on position 383, `fa239c823`, where
Expand All @@ -43,8 +39,8 @@
commits that they fix, so each later commit's position is its v7.2 position less the number of
those fixups before it; see [The v8.0 reorganization](#the-v80-reorganization). The tree of
`899dcd63f` differs from the tree of `09524b79c` only in rustfmt's layout of two `virt_kvm`
tests. The pin is 272 commits past the mapped tip on the same first-parent chain. Positions
127-374, 378-388, 390-392, 394, 395, 397, and 398 are not yet assigned to PRs, positions 375 and
tests. The pin is 273 commits past the mapped tip on the same first-parent chain. Positions
127-374, 378-388, 390-392, 394, 395, and 397-399 are not yet assigned to PRs, positions 375 and
376 are PR20 fixups, position 377 is a PR25 fixup, and positions 389, 393, and 396 are PR18
fixups; see [Commits after the mapped tip](#commits-after-the-mapped-tip).
- Upstream main: `bf353460ff70e4a65627bb7003bed2cad1ce121f` (2026-11-21), the fork base; see
Expand Down Expand Up @@ -1819,7 +1815,8 @@ bf353460f
-> PR18 fixup [396]
-> microVM listings that leave out the entries that lookups refuse [397]
-> microVM aggregate restores that refuse the synthetic root's node as the next node [398]
-> 5f4a47b83 (NVX pin)
-> directory listings that close a descriptor that fdopendir refuses [399]
-> ee66d2311 (NVX pin)
```

For upstream review, PR01-PR03, PR05, PR06, and PR14 can be rebased independently onto current
Expand Down Expand Up @@ -1861,7 +1858,7 @@ position 393's fold shares `create_with_flags`, after position 083's test of `re

## Commits after the mapped tip

The NVX pin extends the chain past position 126 without merges. Of its 272 later commits, positions
The NVX pin extends the chain past position 126 without merges. Of its 273 later commits, positions
375 and 376 are PR20 fixups, position 377 is a PR25 fixup, positions 389, 393, and 396 are PR18
fixups, and the others are not yet classified or assigned to PRs.
Each of positions 127-181 combines the v2.4 commits that the table lists, as v3.0 positions 145-160
Expand All @@ -1871,17 +1868,17 @@ of the v4.0 reorganization, positions 201-206 followed it, positions 207-213 fol
reorganization, positions 214 and 215 followed the v5.1 rebase, positions 216-253 followed the
v6.0 reorganization, positions 254-296 followed the v6.1 rebase, positions 297-314 followed the
v7.0 reorganization, positions 315-331 followed the v7.1 rebase, positions 332-355 followed the
v7.2 rebase, and positions 356-398 followed the v8.0 reorganization, so they combine none, apart
v7.2 rebase, and positions 356-399 followed the v8.0 reorganization, so they combine none, apart
from position 215, which combines v5.1 positions 222 and 223, and the commits that the v7.0 and
v8.0 reorganizations folded into them. The table gives each commit's v7.2 position, which through
position 301 is its own, since the v8.0 reorganization folded v7.2 positions 302, 316, 333,
335-340, 342, 345, 347, 349, 351, and 365, and which positions 356-398 lack.
335-340, 342, 345, 347, 349, 351, and 365, and which positions 356-399 lack.
Each commit through v7.2 position 316 has the position that it had in v7.0 and v7.1, and each of
v7.2 positions 317-334 is its v7.1 position less one, since the v7.2 rebase dropped v7.1 position
317, upstream's microsoft/openvmm#5160, which v7.1 had backported. Each commit's v6.1 position is
its v6.0 position less seven, the number of commits that the v6.1 rebase dropped before it, and
its v6.0 position is its v5.1 position through 147 and one less from v5.1 position 149 on, and
positions 297-398 have no position before v7.0; see
positions 297-399 have no position before v7.0; see
[The v8.0 reorganization](#the-v80-reorganization),
[Conflicts of the v7.2 rebase](#conflicts-of-the-v72-rebase),
[The v7.0 reorganization](#the-v70-reorganization),
Expand Down Expand Up @@ -2168,6 +2165,7 @@ whose first 269 commits are those of `feature/microvm/release/v6.1`, a v6.0 posi
| 396 | `1495ac815` | - | - | - | - | - | - | - | virtiofs: record the host open flags of a microVM create handle (microsoft/openvmm#5288); fold into 083, its test into 335 |
| 397 | `a79b4bb40` | - | - | - | - | - | - | - | virtiofs: leave entries that lookups refuse out of microVM listings (microsoft/openvmm#5289) |
| 398 | `5f4a47b83` | - | - | - | - | - | - | - | virtiofs: refuse a microVM aggregate state whose next node ID is 1 (microsoft/openvmm#5290) |
| 399 | `ee66d2311` | - | - | - | - | - | - | - | lxutil: close the descriptor when fdopendir fails in DirectoryEnumerator::new (microsoft/openvmm#5293) |

The remarks that say whether commits apply to upstream main record what was found on upstream main
when each commit was mapped: the v3.0 reorganization's base, `b2676222b`, for the commits that it
Expand All @@ -2181,7 +2179,7 @@ for positions 325 and 326, `bf353460f`, upstream main on 2026-11-21 and the fork
v8.0, for positions 327-355, `b50d0c979`, upstream main later on 2026-11-23, for position 356,
`5d6ab1cfa`, upstream main later that day, for positions 357-368, `efe0b08df`, upstream main later
still, for positions 369-375, and `8d4e03132`, upstream main on 2026-11-24, for positions
376-398. They name the positions that the commits have now, but neither
376-399. They name the positions that the commits have now, but neither
the v8.0 reorganization and the v7.2 rebase, both on `bf353460f`, the v7.1 rebase on `9a875b563`,
nor the v7.0 reorganization on `e6b458cc0` checked them again, nor did the v6.1 rebase check the
earlier ones on `7d90c4104`.
Expand Down Expand Up @@ -6182,6 +6180,19 @@ writable handles in `validate_microvm_state`, after the check that it changes. U
there conflicts in the microVM's `state.rs` and `aggregate_fs_tests.rs`, which upstream main lacks,
so it cannot go upstream on its own.

Position 399 has `lxutil`'s Unix `DirectoryEnumerator::new` keep its `OwnedFd` until `fdopendir`
succeeds, since `fdopendir` takes ownership of a descriptor only when it succeeds
(microsoft/nvx#2124). The constructor gave `fdopendir` a raw descriptor, so every listing of a
descriptor that is not a directory failed with `ENOTDIR` and left the descriptor open: upstream's
virtio-fs `FUSE_READDIR` on a regular file's handle and Plan9 `Treaddir` on a file's fid both
reach it, so a guest could exhaust OpenVMM's descriptors. The microVM's listings check `S_IFDIR`
before they open a directory stream, so they never reached the leak. It adds a test of 200 failed
enumerations of a regular file to `util.rs`'s tests, which fails at position 398 with 200 more
descriptors open and passes with the fix. No chain commit changes `lxutil`'s `unix/util.rs`.
Position 399 is a cherry-pick of microsoft/openvmm#5291's `7417a033b`, which proposes it on upstream
main, `8d4e03132`, where `lxutil` type-checks and its 38 tests pass, so it can go upstream on its own,
and a rebase onto an upstream main that has it drops it.

## PR summary

Each count is of v8.0 commits, which include the fixups that the v3.0, v4.0, v5.0, v6.0, v7.0, and
Expand Down
2 changes: 1 addition & 1 deletion openvmm
Loading