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 8d08ec0
Browse filesBrowse the repository at this point in the historyBrowse files
[Conflicts of the v6.1 rebase](#conflicts-of-the-v61-rebase), and
@@ -1945,6 +1953,7 @@ whose first 220 commits are those of `feature/microvm/release/v6.0`, and a v4.0
1945
1953
| 348 |`1270a975b`| - | - | - | - | - | - | lxutil: do not mistake unmapped groups for the overflow GID (microsoft/openvmm#5214) |
1946
1954
| 349 |`2a483a06f`| - | - | - | - | - | - | virtiofs: keep node names when renaming one hard link onto another (microsoft/openvmm#5215); fold into 048, its test into 166 |
1947
1955
| 350 |`189dc519f`| - | - | - | - | - | - | virtiofs: fail a synthetic root read too small for its next entry (microsoft/openvmm#5216) |
1956
+
| 351 |`8bea555db`| - | - | - | - | - | - | virtiofs: skip gone or hidden entries in microVM READDIRPLUS (microsoft/openvmm#5217); fold into 083, its policy test into 160 |
1948
1957
1949
1958
The remarks that say whether commits apply to upstream main record what was found on upstream main
1950
1959
when each commit was mapped: the v3.0 reorganization's base, `b2676222b`, for the commits that it
@@ -1955,7 +1964,7 @@ and `c0694c4da`, upstream main on 2026-11-16, for positions 297-306, `c4419be15`
1955
1964
main on 2026-11-19, for positions 321-324, `78af54a51`, upstream main on 2026-11-20, for position
1956
1965
325, `d83f87209`, upstream main later that day, for position 326, `265f0a73f`, upstream main
1957
1966
later still, for positions 327 and 328, and `bf353460f`, upstream main on 2026-11-21 and the v7.2
1958
-
fork base, for positions 329-334 and 340-350.
1967
+
fork base, for positions 329-334 and 340-351.
1959
1968
They name the positions that the commits have now, but neither the v7.2 rebase on `bf353460f`, the
1960
1969
v7.1 rebase on `9a875b563`, nor the v7.0 reorganization on `e6b458cc0` checked them again, nor did
1961
1970
the v6.1 rebase check the earlier ones on `7d90c4104`.
@@ -4665,6 +4674,37 @@ behaves as it did. Upstream main has the defect, in the same loop. Replaying the
4665
4674
applies without conflicts, and `virtiofs` type-checks there with its tests on Windows, where the new
4666
4675
test fails without the change and all of them pass with it, so it can go upstream on its own.
4667
4676
4677
+
Position 351 has a microVM `FUSE_READDIRPLUS` skip a listed entry whose lookup fails with `ENOENT`,
4678
+
as for a name that was unlinked or renamed away since the listing, or with `EACCES`, as for a name
4679
+
whose object the access policy hides, such as a host hard link to a hidden file, as upstream's
4680
+
`read_dir_with` skips such an entry, and has a read that skips every entry left return an empty
4681
+
reply, which ends the guest's listing, rather than `EINVAL`, which it keeps for a read that stops at
4682
+
an entry that its buffer cannot hold (microsoft/nvx#1622). `read_dir_microvm`, which PR18's position
4683
+
083 adds, lists a directory once, on a handle's first read, and `READDIRPLUS` looks each listed name
4684
+
up again, so a name that another guest process or the host unlinked while the guest listed the
4685
+
directory a page at a time failed the read, and since the guest's next read starts at the failing
4686
+
entry, every later read failed the same way: the guest could never list the rest of the directory
4687
+
through that handle, and `getdents64`, `rm -rf`, and `find` failed with it. Only the lookup,
4688
+
`VirtioFsInode::lookup_child`, fails with those errors, so a skipped entry takes no lookup
4689
+
reference. The saved state keeps its format. It changes `read_dir_microvm` in the microVM's
4690
+
`file.rs`, in the loop that position 083 adds and the PR18 fixup at position 345 rewrites, around
4691
+
the result of the `write_microvm_entry_plus` that position 345 adds, and none of the code that the
4692
+
file's other chain commits change: position 160, which filters the listing's enumeration, position
4693
+
332, which numbers the listed objects by host device, and PR18's fixup at position 342, which
4694
+
charges the listing that the first read keeps. It adds two tests to the microVM's persistence tests,
4695
+
which PR18's positions 081 and 083, PR22's position 102, positions 331, 332, 334, and 346, and
4696
+
PR18's fixups at positions 333, 342, and 345 also change, and one to the microVM's policy tests,
4697
+
which positions 160, 164, 194, 344, and 346 also change. It fixes a defect of position 083 and needs
4698
+
nothing that a later position adds but the `write_microvm_entry_plus` of position 345, the
4699
+
`microvm_with_an_open_root` that position 345's tests add, the budget that position 342 passes to
4700
+
`restore_directory_snapshot`, and, for its test of a hard link to a hidden file, the access policy
4701
+
of position 160, the identities that it pins, and its policy tests, so it is a PR18 fixup: fold it
4702
+
into position 083, after position 345, with its persistence tests, and fold its policy test into
4703
+
position 160. Upstream main lacks the defect, since it lacks the microVM's directory listings, and
4704
+
its `read_dir_with` already skips such entries. Replaying the commit there conflicts in the
4705
+
microVM's `file.rs`, `fs_tests.rs`, and `policy_tests.rs`, which upstream main lacks, so it follows
4706
+
PR18 upstream.
4707
+
4668
4708
## PR summary
4669
4709
4670
4710
Each count is of v7.2 commits, which include the fixups that the v3.0, v4.0, v5.0, v6.0, and v7.0
@@ -4693,7 +4733,7 @@ reorganizations folded into them; see [The v7.0 reorganization](#the-v70-reorgan
4693
4733
| PR15 | P | microVM machine profile and minimal chipset | 050-060 |`a43ebb21f..9ef208a3d`| 11 | Foundation fan-in |
4694
4734
| PR16 | P | Fixed virtio-MMIO ABI and shared interrupt status | 061-064 |`2ea61a194..8b8834095`| 4 | PR15 |
4695
4735
| PR17 | P | microVM snapshot capture and authoritative restore | 065-075 |`68a2d64c1..dc9696109`| 11 | PR16 |
- 077 `e40773d99` - 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)
@@ -5044,6 +5084,7 @@ Landed upstream and dropped from the chain:
5044
5084
- 342 `5c82edac4` - virtiofs: bound microVM directory snapshots in total when listing (microsoft/openvmm#5208; **fold into 083**, its budget in `new_microvm_aggregate` and its tests into 164)
5045
5085
- 345 `8986cc537` - virtiofs: stop failed microVM READDIRPLUS from leaking lookup references (microsoft/openvmm#5211; **fold into 083**)
5046
5086
- 347 `a533d6a55` - virtiofs: refuse device nodes and whiteouts on a microVM share (microsoft/openvmm#5213; **fold into 081**, its tests into 164)
5087
+
- 351 `8bea555db` - virtiofs: skip gone or hidden entries in microVM READDIRPLUS (microsoft/openvmm#5217; **fold into 083**, its policy test into 160)
0 commit comments