You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8bfe42a
Browse filesBrowse the repository at this point in the historyBrowse files
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>
@@ -2130,6 +2135,7 @@ whose first 269 commits are those of `feature/microvm/release/v6.1`, a v6.0 posi
2130
2135
| 386 | `f06060dfe` | - | - | - | - | - | - | - | vmm_core: forget a debugger's halt reports when it detaches (microsoft/openvmm#5280) |
2131
2136
| 387 | `320e09cf5` | - | - | - | - | - | - | - | vmm_core: clear VP debug state on detach only if the debugger set it (microsoft/openvmm#5280) |
2132
2137
| 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 |
2133
2139
2134
2140
The remarks that say whether commits apply to upstream main record what was found on upstream main
2135
2141
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
2143
2149
v8.0, for positions 327-355, `b50d0c979`, upstream main later on 2026-11-23, for position 356,
2144
2150
`5d6ab1cfa`, upstream main later that day, for positions 357-368, `efe0b08df`, upstream main later
2145
2151
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
2147
2153
the v8.0 reorganization and the v7.2 rebase, both on `bf353460f`, the v7.1 rebase on `9a875b563`,
2148
2154
nor the v7.0 reorganization on `e6b458cc0` checked them again, nor did the v6.1 rebase check the
2149
2155
earlier ones on `7d90c4104`.
@@ -5829,6 +5835,43 @@ lacks position 372's documentation of `Break`; position 388's changes of the deb
5829
5835
Guide apply there, but its documentation of `Detach` extends position 386's, so they cannot go
5830
5836
upstream on their own.
5831
5837
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
+
5832
5875
## PR summary
5833
5876
5834
5877
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
5858
5901
| PR15 | P | microVM machine profile and minimal chipset | 050-060 | `abeabf34d..2dd8e1e92` | 11 | Foundation fan-in |
5859
5902
| PR16 | P | Fixed virtio-MMIO ABI and shared interrupt status | 061-064 | `f5753d818..e8369480d` | 4 | PR15 |
5860
5903
| 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 |
0 commit comments