diff --git a/doc/openvmm-upstream-roadmap.md b/doc/openvmm-upstream-roadmap.md index 88f4d1db7..3ed62191a 100644 --- a/doc/openvmm-upstream-roadmap.md +++ b/doc/openvmm-upstream-roadmap.md @@ -9,8 +9,9 @@ [Upstream status](#upstream-status). - Mapped fork tip: `c6e62f286b2879ca87da42e46de2fee887231d08`, position 126. The graph, PR summary, and commit mapping below cover positions 001-126. -- NVX's pinned OpenVMM revision: `b73db66767b9f57621c87a69b80f0a9e4e0fd9fa`, position 356, the head - of microsoft/openvmm#5248, whose commit follows position 355, `899dcd63f`, the head of +- NVX's pinned OpenVMM revision: `e8324ea31864e90e3486ec89d11f28d15e2c7b67`, position 357, the head + of microsoft/openvmm#5249, whose commit follows position 356, `b73db6676`, the head of + microsoft/openvmm#5248, whose commit follows position 355, `899dcd63f`, the head of `feature/microvm/dev` and of the `feature/microvm/release/v8.0` branch of microsoft/openvmm. The v8.0 reorganization replayed the 370 commits of `feature/microvm/dev` at `09524b79c`, the pin before it, on their own fork base and folded the 15 fixups that the roadmap assigned to earlier @@ -18,8 +19,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 230 commits past the mapped tip on the same first-parent chain, and positions - 127-356 are not yet assigned to PRs; see + tests. The pin is 231 commits past the mapped tip on the same first-parent chain, and positions + 127-357 are not yet assigned to PRs; see [Commits after the mapped tip](#commits-after-the-mapped-tip). - Upstream main: `bf353460ff70e4a65627bb7003bed2cad1ce121f` (2026-11-21), the fork base; see [Upstream main past the fork base](#upstream-main-past-the-fork-base). @@ -1758,7 +1759,8 @@ bf353460f -> microVM READDIRPLUS listings of btrfs placeholders and same-device mount points [354] -> microVM READDIRPLUS names of the listed node listed without a node [355] -> FUSE_INIT negotiations adopted only once their reply is sent [356] - -> b73db6676 (NVX pin) + -> PCI slots of chipset devices claimed only once their state unit spawns [357] + -> e8324ea31 (NVX pin) ``` For upstream review, PR01-PR03, PR05, PR06, and PR14 can be rebased independently onto current @@ -1781,7 +1783,7 @@ reorganization folded the fixups of PR13 and PR18 and of the v7.1 and v7.2 rebas ## Commits after the mapped tip -The NVX pin extends the chain past position 126 without merges, and its 230 later commits are not +The NVX pin extends the chain past position 126 without merges, and its 231 later commits 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 and 162-200 did, which developed one concept; "(part)" marks a v2.4 fixup that split across @@ -1790,17 +1792,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 position 356 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 position 356 lacks. +v7.2 rebase, and positions 356 and 357 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 and 357 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-356 have no position before v7.0; see +positions 297-357 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), @@ -2045,6 +2047,7 @@ whose first 269 commits are those of `feature/microvm/release/v6.1`, a v6.0 posi | 354 | `c0efd6c92` | 369 | - | - | - | - | - | - | virtiofs: list btrfs placeholders and bind mounts in microVM READDIRPLUS (microsoft/openvmm#5228) | | 355 | `899dcd63f` | 370 | - | - | - | - | - | - | virtiofs: stop microVM READDIRPLUS from aliasing the listed node (microsoft/openvmm#5229) | | 356 | `b73db6676` | - | - | - | - | - | - | - | fuse: adopt a FUSE_INIT negotiation only once its reply is sent (microsoft/openvmm#5248) | +| 357 | `e8324ea31` | - | - | - | - | - | - | - | vmotherboard: claim a device's PCI slot only once its unit spawns (microsoft/openvmm#5249) | 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 @@ -2055,10 +2058,11 @@ and `c0694c4da`, upstream main on 2026-11-16, for positions 297-305, `c4419be15` 2026-11-19, for positions 319-322, `78af54a51`, upstream main on 2026-11-20, for position 323, `d83f87209`, upstream main later that day, for position 324, `265f0a73f`, upstream main later still, for positions 325 and 326, `bf353460f`, upstream main on 2026-11-21 and the fork base of v7.2 and -v8.0, for positions 327-355, and `b50d0c979`, upstream main later on 2026-11-23, for position 356. -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`. +v8.0, for positions 327-355, `b50d0c979`, upstream main later on 2026-11-23, for position 356, and +`5d6ab1cfa`, upstream main later that day, for position 357. 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`. Some of these commits change mapped work rather than add to it. Position 142 removes the legacy microVM clock paths, changing files that PR10 and PR17 also change, and makes manifest version 6 the @@ -5016,6 +5020,30 @@ that fails inherits the same two fields, but it saves no session state. Replayin conflicts in `lib.rs` and `session.rs`, whose lines of positions 047 and 328 it changes, and in position 328's `init.rs`, which upstream main lacks, so it cannot go upstream on its own. +Position 357 has `ArcMutexChipsetServices::finalize`, which ends the add of a chipset device in +`vmotherboard`, place the device on its PCI bus, on its PCIe downstream port, or at its devfn as an +RCiEP only once its state unit has spawned, the last step of the add that can fail +(microsoft/nvx#1904). The add registered those places with the builder's bus resolver before +`finalize`, so an add that failed there, with `NameInUse` when another unit had the device's name, +left the dropped device's weak reference in them: the built chipset attached it to its bus, where +configuration accesses found no device, and a device added in its place failed the build with a +`PciConflict` or a `PcieConflict` that named the dropped device. `register_static_pci`, +`register_static_pcie`, and `register_static_pcie_rciep` now only record the places that the add +asks for, and `finalize` registers them with the resolver after the spawn, under the builder's +lock, once position 316 has made the device the chipset's EOI handler, PIC, and line target, so a +failed add leaves no place behind, and a successful one registers the same places as before. The +resolver's three registration methods move from `ChipsetBuilder`, whose methods take the builder's +lock, to `BusResolver`, which `finalize` reaches under the lock that it holds, in `builder/mod.rs`, +which PR10's position 015 also changes, none of the code that the commit changes. In `services.rs`, +it changes code that upstream main has, and the comment and the order of `finalize` that position +316 adds, and adds two tests after position 316's, in the `tests` module that position 316 adds; +PR10's position 015 and position 315 also change the file, none of the code that the commit +changes. It changes nothing that a mapped PR adds. Every caller of the add, the microVM's device +loader among them, returns its error, and the microVM has no PCI or PCIe device, so it behaves as +it did. Upstream main has the defect: its add registers the places before `finalize` the same way. +Replaying the commit there conflicts in `services.rs`, whose `finalize` and `tests` module of +position 316 it changes, so it cannot go upstream on its own, and it follows position 316. + ## 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 diff --git a/openvmm b/openvmm index b73db6676..e8324ea31 160000 --- a/openvmm +++ b/openvmm @@ -1 +1 @@ -Subproject commit b73db66767b9f57621c87a69b80f0a9e4e0fd9fa +Subproject commit e8324ea31864e90e3486ec89d11f28d15e2c7b67