Skip to content

Commit 25935bc

Browse files
ppennaCopilot
andcommitted
doc: map missing-device claims of full-width and empty ranges in the OpenVMM roadmap
Map position 370, the commit of microsoft/openvmm#5261, which NVX now pins at aa145aff9, 244 commits past the mapped tip: - 370, missing_dev: claim a full-width or empty range without overflow. MissingDev::from_manifest registers no region for an empty range and two halves, both under the range's name, for a range that spans its whole address space, whose length, end - start + 1, did not fit the address type, and every other range as before. Position 370 is not yet assigned to a PR. microsoft/openvmm#5261 is stacked on microsoft/openvmm#5260, whose position 369 the previous pin mapped, so the Scope now names it as the pull request that position 370 follows. No earlier chain commit changes missing_dev, and the 40 that change Cargo.lock change none of its entry, to which it adds test_with_tracing, a new dev-dependency. It changes nothing that a mapped PR adds, so it is no fixup. Upstream main, efe0b08df, has the code that it changes; replaying it there applies without conflicts, and missing_dev type-checks there with its tests, which pass, so it can go upstream on its own. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent bad1a73 commit 25935bc

1 file changed

Lines changed: 34 additions & 13 deletions

File tree

‎doc/openvmm-upstream-roadmap.md‎

Lines changed: 34 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
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.
12-
- NVX's pinned OpenVMM revision: `8c1204c68381d11d90e58c4ee710a879f71fb601`, position 369, the head
13-
of microsoft/openvmm#5260, whose commit follows position 368, `9805f8984`, the head of
12+
- NVX's pinned OpenVMM revision: `aa145aff9868866881c55f87305edc82f0f01602`, position 370, the head
13+
of microsoft/openvmm#5261, whose commit follows position 369, `8c1204c68`, the head of
14+
microsoft/openvmm#5260, whose commit follows position 368, `9805f8984`, the head of
1415
`feature/microvm/dev` since microsoft/openvmm#5254, microsoft/openvmm#5255, and
1516
microsoft/openvmm#5257 landed positions 362-368 on position 361, `09966aa63`, the head of
1617
`feature/microvm/dev` since microsoft/openvmm#5248, microsoft/openvmm#5249,
@@ -23,8 +24,8 @@
2324
commits that they fix, so each later commit's position is its v7.2 position less the number of
2425
those fixups before it; see [The v8.0 reorganization](#the-v80-reorganization). The tree of
2526
`899dcd63f` differs from the tree of `09524b79c` only in rustfmt's layout of two `virt_kvm`
26-
tests. The pin is 243 commits past the mapped tip on the same first-parent chain, and positions
27-
127-369 are not yet assigned to PRs; see
27+
tests. The pin is 244 commits past the mapped tip on the same first-parent chain, and positions
28+
127-370 are not yet assigned to PRs; see
2829
[Commits after the mapped tip](#commits-after-the-mapped-tip).
2930
- Upstream main: `bf353460ff70e4a65627bb7003bed2cad1ce121f` (2026-11-21), the fork base; see
3031
[Upstream main past the fork base](#upstream-main-past-the-fork-base).
@@ -1771,7 +1772,8 @@ bf353460f
17711772
-> FUSE_COPY_FILE_RANGE_64 requests failed with ENOSYS rather than EINVAL [365]
17721773
-> FUSE_INIT negotiations that the session discards destroyed before the next one [366-368]
17731774
-> reserved DFR models of the software APIC decoded by bit 31 [369]
1774-
-> 8c1204c68 (NVX pin)
1775+
-> missing-device claims of full-width and empty ranges registered without overflow [370]
1776+
-> aa145aff9 (NVX pin)
17751777
```
17761778

17771779
For upstream review, PR01-PR03, PR05, PR06, and PR14 can be rebased independently onto current
@@ -1794,7 +1796,7 @@ reorganization folded the fixups of PR13 and PR18 and of the v7.1 and v7.2 rebas
17941796

17951797
## Commits after the mapped tip
17961798

1797-
The NVX pin extends the chain past position 126 without merges, and its 243 later commits are not
1799+
The NVX pin extends the chain past position 126 without merges, and its 244 later commits are not
17981800
yet classified or assigned to PRs.
17991801
Each of positions 127-181 combines the v2.4 commits that the table lists, as v3.0 positions 145-160
18001802
and 162-200 did, which developed one concept; "(part)" marks a v2.4 fixup that split across
@@ -1803,17 +1805,17 @@ of the v4.0 reorganization, positions 201-206 followed it, positions 207-213 fol
18031805
reorganization, positions 214 and 215 followed the v5.1 rebase, positions 216-253 followed the
18041806
v6.0 reorganization, positions 254-296 followed the v6.1 rebase, positions 297-314 followed the
18051807
v7.0 reorganization, positions 315-331 followed the v7.1 rebase, positions 332-355 followed the
1806-
v7.2 rebase, and positions 356-369 followed the v8.0 reorganization, so they combine none, apart
1808+
v7.2 rebase, and positions 356-370 followed the v8.0 reorganization, so they combine none, apart
18071809
from position 215, which combines v5.1 positions 222 and 223, and the commits that the v7.0 and
18081810
v8.0 reorganizations folded into them. The table gives each commit's v7.2 position, which through
18091811
position 301 is its own, since the v8.0 reorganization folded v7.2 positions 302, 316, 333,
1810-
335-340, 342, 345, 347, 349, 351, and 365, and which positions 356-369 lack.
1812+
335-340, 342, 345, 347, 349, 351, and 365, and which positions 356-370 lack.
18111813
Each commit through v7.2 position 316 has the position that it had in v7.0 and v7.1, and each of
18121814
v7.2 positions 317-334 is its v7.1 position less one, since the v7.2 rebase dropped v7.1 position
18131815
317, upstream's microsoft/openvmm#5160, which v7.1 had backported. Each commit's v6.1 position is
18141816
its v6.0 position less seven, the number of commits that the v6.1 rebase dropped before it, and
18151817
its v6.0 position is its v5.1 position through 147 and one less from v5.1 position 149 on, and
1816-
positions 297-369 have no position before v7.0; see
1818+
positions 297-370 have no position before v7.0; see
18171819
[The v8.0 reorganization](#the-v80-reorganization),
18181820
[Conflicts of the v7.2 rebase](#conflicts-of-the-v72-rebase),
18191821
[The v7.0 reorganization](#the-v70-reorganization),
@@ -2071,6 +2073,7 @@ whose first 269 commits are those of `feature/microvm/release/v6.1`, a v6.0 posi
20712073
| 367 | `1a0f6be2d` | - | - | - | - | - | - | - | fuse: call destroy after an init that the session does not adopt (microsoft/openvmm#5257) |
20722074
| 368 | `9805f8984` | - | - | - | - | - | - | - | fuse: say which FUSE_INIT waits for the end of a session (microsoft/openvmm#5257) |
20732075
| 369 | `8c1204c68` | - | - | - | - | - | - | - | virt_support_apic: select a reserved DFR model by bit 31 (microsoft/openvmm#5260) |
2076+
| 370 | `aa145aff9` | - | - | - | - | - | - | - | missing_dev: claim a full-width or empty range without overflow (microsoft/openvmm#5261) |
20742077

20752078
The remarks that say whether commits apply to upstream main record what was found on upstream main
20762079
when each commit was mapped: the v3.0 reorganization's base, `b2676222b`, for the commits that it
@@ -2083,10 +2086,10 @@ and `c0694c4da`, upstream main on 2026-11-16, for positions 297-305, `c4419be15`
20832086
for positions 325 and 326, `bf353460f`, upstream main on 2026-11-21 and the fork base of v7.2 and
20842087
v8.0, for positions 327-355, `b50d0c979`, upstream main later on 2026-11-23, for position 356,
20852088
`5d6ab1cfa`, upstream main later that day, for positions 357-368, and `efe0b08df`, upstream main
2086-
later still, for position 369. They name the positions that the commits have now, but neither the
2087-
v8.0 reorganization and the v7.2 rebase, both on `bf353460f`, the v7.1 rebase on `9a875b563`, nor
2088-
the v7.0 reorganization on `e6b458cc0` checked them again, nor did the v6.1 rebase check the earlier
2089-
ones on `7d90c4104`.
2089+
later still, for positions 369 and 370. They name the positions that the commits have now, but
2090+
neither the v8.0 reorganization and the v7.2 rebase, both on `bf353460f`, the v7.1 rebase on
2091+
`9a875b563`, nor the v7.0 reorganization on `e6b458cc0` checked them again, nor did the v6.1 rebase
2092+
check the earlier ones on `7d90c4104`.
20902093

20912094
Some of these commits change mapped work rather than add to it. Position 142 removes the legacy
20922095
microVM clock paths, changing files that PR10 and PR17 also change, and makes manifest version 6 the
@@ -5297,6 +5300,24 @@ open upstream, proposes another fix of the same panic, which ignores such a writ
52975300
keeps its model, and restores such a DFR as the flat model; replaying the commit on it conflicts in
52985301
`lib.rs`, so once it lands, the next rebase must keep one of the two behaviors.
52995302

5303+
Position 370 has `MissingDev::from_manifest`, which builds a missing device from a
5304+
`MissingDevManifest` or, through its resolver, from a `MissingDevHandle`, claim a port I/O or MMIO
5305+
range that spans its whole address space, or an empty one, without overflowing the length of its
5306+
region (microsoft/nvx#1409). It registered each range as one region of length `end - start + 1`,
5307+
which does not fit the address type for `0..=0xffff` or `0..=u64::MAX` and underflows for a range
5308+
whose start lies past its end, so building such a device panicked where overflow checks are on.
5309+
Otherwise it claimed nothing for a full-width range or an empty one whose start lies just past its
5310+
end, whose lengths wrapped to 0, and panicked in `vmotherboard`'s `DeviceRange::map` for any other
5311+
empty range. A new helper, `regions`, now claims an empty range with no region and a full-width
5312+
range with two halves under its name, and every other range as before, and three tests check the
5313+
regions that `from_manifest` maps, with `test_with_tracing` as a new dev-dependency of
5314+
`missing_dev`. No earlier chain commit changes `missing_dev`, and the 40 that change `Cargo.lock`,
5315+
mapped PRs' among them, change none of its entry, to which it adds one line. It changes nothing that
5316+
a mapped PR adds. The microVM attaches no missing device, and the chipset's fallback device for
5317+
unclaimed addresses claims nothing, so the microVM behaves as it did. Replaying the commit on
5318+
upstream main applies without conflicts, and `missing_dev` type-checks there with its tests, which
5319+
pass, so it can go upstream on its own.
5320+
53005321
## PR summary
53015322

53025323
Each count is of v8.0 commits, which include the fixups that the v3.0, v4.0, v5.0, v6.0, v7.0, and

0 commit comments

Comments
 (0)