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
Copy file name to clipboardExpand all lines: content/this-month/2026-04/index.md
+48-25Lines changed: 48 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
+++
2
2
title = "This Month in Rust OSDev: April 2026"
3
-
date = 2026-05-05
3
+
date = 2026-05-14
4
4
5
5
[extra]
6
6
month = "April 2026"
@@ -17,7 +17,7 @@ Please submit interesting posts and projects for the next issue [on Zulip](https
17
17
18
18
<spanclass="gray">
19
19
Disclaimer: Automated scripts and AI assistance were used for collecting and categorizing links.
20
-
Everything was proofread and checked manually and there were many manual tweaks.
20
+
Everything was proofread and checked manually, with many manual tweaks.
21
21
</span>
22
22
23
23
@@ -40,18 +40,22 @@ Please follow this template:
40
40
- (optional) Some additional context
41
41
-->
42
42
43
-
-[octopos: xv6based operating system for RISC-V in Rust](https://www.boranseckin.com/projects/octopos)
43
+
-[octopos: xv6-based operating system for RISC-V in Rust](https://www.boranseckin.com/projects/octopos)
44
44
- A Rust port of xv6 that targets RISC-V and runs without the standard library, including process management, Sv39 page tables, VirtIO disk support, and a POSIX-style syscall interface.
45
+
-[A minimal VMM in Rust with Apple Hypervisor](https://gigapotential.dev/blog/minimal-vmm-in-rust-with-apple-hypervisor/)
46
+
- Walks through building a small virtual machine monitor on Apple Silicon macOS using Rust bindings to Apple's Hypervisor framework.
47
+
-[Rust: Memory safety in kernel space](https://oshub.org/users/OSHub/posts/rust-memory-safety-in-kernel-space-9178dd)
48
+
- An OS-focused introduction to how Rust's ownership and `unsafe` boundaries change kernel development.
45
49
-[Bringing Rust to the Pixel Baseband](https://blog.google/security/bringing-rust-to-the-pixel-baseband/)
46
50
- Google describes adding Rust to Pixel modem firmware, including `no_std` support for Hickory DNS dependencies, `core`/`alloc` integration, allocator and panic handler hooks, and firmware linking details.
47
51
-[tinyboot v0.4.0 Released -- The API is Stable](https://aaronqian.com/log/2026-04-22-tinyboot-v040-released/)
48
52
- A minimal Rust bootloader for resource-constrained MCUs. This release adds CH32V00x support, collapses the CH32 crates, stabilizes the wire protocol, and fixes half-duplex UART bugs.
49
-
-[A minimal VMM in Rust with Apple Hypervisor](https://gigapotential.dev/blog/minimal-vmm-in-rust-with-apple-hypervisor/)
50
-
- Walks through building a small virtual machine monitor on Apple Silicon macOS using Rust bindings to Apple's Hypervisor framework.
51
-
-[Rust: Memory safety in kernel space](https://oshub.org/users/OSHub/posts/rust-memory-safety-in-kernel-space-9178dd)
52
-
- An OS-focused introduction to what Rust's ownership and `unsafe` boundaries change for kernel development.
53
53
-[Using Rust to Build a $1 Handheld Gaming Console](https://chrisdell.info/using-rust-to-build-a-1-dollar-handheld-gaming-console/)
54
54
- A small embedded Rust project on the CH32V003 RISC-V microcontroller, with notes on RAM-constrained rendering and fixed-point math.
55
+
-[Zero-copy pages in Rust](https://redixhumayun.github.io/databases/2026/04/14/zero-copy-pages-in-rust.html)
56
+
- Explores an approach for working with database pages in Rust while avoiding unnecessary copies.
57
+
-[This Month in Redox - April 2026](https://www.redox-os.org/news/this-month-260430/)
58
+
- The Redox project reports updates across the kernel, system libraries, drivers, and userspace.
55
59
56
60
## Infrastructure and Tooling
57
61
@@ -67,14 +71,14 @@ In this section, we collect recent updates to `rustc`, `cargo`, and other toolin
- Stabilizes `cfg_select!`, atomic `update`/`try_update` methods, and allocator layout helpers such as `Layout::{dangling_ptr, repeat, repeat_packed, extend_packed}`.
69
73
- Important for custom-target users: stable `rustc` no longer accepts JSON target specifications. Building `core` for custom targets still requires nightly-only features.
74
+
- Move `std::io` pieces toward `core::io`
75
+
-[`ErrorKind`](https://github.com/rust-lang/rust/pull/154654) and [`RawOsError`](https://github.com/rust-lang/rust/pull/155574) were moved into `core::io`, continuing the groundwork for more I/O abstractions in `no_std` contexts.
- Proposed Cargo configuration for rebuilding standard library crates, part of the ongoing effort to make `build-std` usable on stable.
76
-
- Move `std::io` pieces toward `core::io`
77
-
-[`ErrorKind`](https://github.com/rust-lang/rust/pull/154654) and [`RawOsError`](https://github.com/rust-lang/rust/pull/155574) were moved into `core::io`, continuing the groundwork for more IO abstractions in `no_std` contexts.
78
82
79
83
## `rust-osdev` Projects
80
84
@@ -92,16 +96,28 @@ In this section, we give an overview of notable changes to the projects hosted u
92
96
<<changelog, either in list or text form>>
93
97
-->
94
98
99
+
### [`pvh`](https://github.com/rust-osdev/pvh)
100
+
<spanclass="maintainers">Maintained by [@mkroening](https://github.com/mkroening)</span>
101
+
102
+
The `pvh` crate contains definitions for Xen's [x86/HVM direct boot ABI](https://xenbits.xen.org/docs/unstable/misc/pvh.html) (PVH). PVH is commonly used for direct kernel boot in virtual machine managers (VMMs), such as [QEMU](https://www.qemu.org), and in VMMs using the [`linux-loader`](https://github.com/rust-vmm/linux-loader) crate, such as [Firecracker](https://firecracker-microvm.github.io) and [Cloud Hypervisor](https://www.cloudhypervisor.org).
103
+
104
+
The crate allows kernels to be booted via PVH and helps read the data provided via physical addresses. Its structures can also be used in VMMs or bootloaders to create appropriate start info structures when loading a kernel.
105
+
106
+
The [new repository](https://github.com/rust-osdev/pvh) was created this month and is also available [on crates.io](https://crates.io/crates/pvh).
107
+
108
+
Thanks to [@mkroening](https://github.com/mkroening) for creating the project!
109
+
110
+
95
111
### [`acpi`](https://github.com/rust-osdev/acpi)
96
112
<spanclass="maintainers">Maintained by [@IsaacWoods](https://github.com/IsaacWoods)</span>
97
113
98
-
The `acpi` repository contains crates for parsing the ACPI tables – data structures that the firmware of modern computers use to relay information about the hardware to the OS.
114
+
The `acpi` repository contains crates for parsing the ACPI tables – data structures that the firmware of modern computers uses to relay information about the hardware to the OS.
99
115
100
116
We merged the following changes this month:
101
117
102
118
-[Support multiple tables per test in `aml_tester`](https://github.com/rust-osdev/acpi/pull/284)
103
119
-[Implement Index and Bank fields](https://github.com/rust-osdev/acpi/pull/274)
104
-
-[Add support for running the tests from uACPI.](https://github.com/rust-osdev/acpi/pull/285)
120
+
-[Add support for running the tests from uACPI](https://github.com/rust-osdev/acpi/pull/285)
105
121
-[Remove some AML-triggerable panics from library](https://github.com/rust-osdev/acpi/pull/276)
106
122
-[Derive Clone, Debug on useful objects](https://github.com/rust-osdev/acpi/pull/287)
107
123
-[(minor) Trace the table ID better](https://github.com/rust-osdev/acpi/pull/291)
@@ -139,24 +155,14 @@ Thanks to [@JarlEvanson](https://github.com/JarlEvanson) for their contributions
139
155
140
156
The `bootloader` crate implements a custom Rust-based bootloader for easy loading of 64-bit ELF executables. This month, we merged the following change:
141
157
142
-
-[Update to v0.11.15 and add missing x86_64-unknown-uefi target](https://github.com/rust-osdev/bootloader/pull/557)
158
+
-[Update to v0.11.15 and add missing x86_64-unknown-uefi target](https://github.com/rust-osdev/bootloader/pull/557)
143
159
144
160
<!-- - [Bump rand from 0.8.5 to 0.8.6](https://github.com/rust-osdev/bootloader/pull/559) -->
145
161
<!-- - [Bump rustls-webpki from 0.103.10 to 0.103.13 in /examples/basic](https://github.com/rust-osdev/bootloader/pull/560) -->
146
162
147
163
Thanks to [@peppergrayxyz](https://github.com/peppergrayxyz) for their contribution!
<spanclass="maintainers">Maintained by [@phil-opp](https://github.com/phil-opp) and [@jamesmunns](https://github.com/jamesmunns)</span>
152
-
153
-
The `linked-list-allocator` crate provides a basic `no_std` allocator that builds a linked list from freed memory blocks and thus needs no additional data structures. We merged the following PR this month:
154
-
155
-
-[fix(alloc_ref): use renamed `dangling`](https://github.com/rust-osdev/linked-list-allocator/pull/90)
156
-
157
-
Thanks to [@sermuns](https://github.com/sermuns) for their contribution!
<spanclass="maintainers">Maintained by [@phil-opp](https://github.com/phil-opp), [@josephlr](https://github.com/orgs/rust-osdev/people/josephlr), and [@Freax13](https://github.com/orgs/rust-osdev/people/Freax13)</span>
162
168
@@ -166,6 +172,16 @@ We merged the following PR this month:
166
172
167
173
-[insert NOP after STI](https://github.com/rust-osdev/x86_64/pull/588)
<spanclass="maintainers">Maintained by [@phil-opp](https://github.com/phil-opp) and [@jamesmunns](https://github.com/jamesmunns)</span>
178
+
179
+
The `linked-list-allocator` crate provides a basic `no_std` allocator that builds a linked list from freed memory blocks and thus needs no additional data structures. We merged the following PR this month:
180
+
181
+
-[fix(alloc_ref): use renamed `dangling`](https://github.com/rust-osdev/linked-list-allocator/pull/90)
182
+
183
+
Thanks to [@sermuns](https://github.com/sermuns) for their contribution!
184
+
169
185
## Other Projects
170
186
171
187
In this section, we describe updates to Rust OS projects that are not directly related to the `rust-osdev` organization. Feel free to [create a pull request](https://github.com/rust-osdev/homepage/pulls) with the updates of your OS project for the next post.
@@ -188,14 +204,21 @@ Key features:
188
204
189
205
-**S-EL2 SPMC**: Runs as BL32 in TF-A boot chain, replacing Hafnium. Manages multiple Secure Partitions (SPs) at S-EL1 with per-SP Secure Stage-2 page tables.
190
206
-**FF-A v1.1**: Full proxy implementation including DIRECT_REQ/RESP messaging, memory sharing (MEM_SHARE/LEND/DONATE/RETRIEVE/RELINQUISH/RECLAIM), descriptor fragmentation, PARTITION_INFO_GET, notifications, indirect messaging, and CONSOLE_LOG.
191
-
-**pKVM integration**: Coexists with Android pKVM at NS-EL2 — our SPMC at S-EL2, pKVM at NS-EL2. 35/35 `ffa_test.ko` tests pass including SP-to-SP DIRECT_REQ relay and SP-to-SP memory sharing through the real SPMD chain.
207
+
-**pKVM integration**: Coexists with Android pKVM at NS-EL2 — our SPMC at S-EL2, pKVM at NS-EL2. 35/35 `ffa_test.ko` tests pass, including SP-to-SP DIRECT_REQ relay and SP-to-SP memory sharing through the real SPMD chain.
192
208
-**Multi-VM**: 2 Linux VMs time-sliced with VMID-tagged TLBs and per-VM Stage-2 page tables.
193
209
-**SMP**: Both 4-vCPU-on-1-pCPU (round-robin scheduler) and 4-vCPU-on-4-pCPU (1:1 affinity) modes.
<spanclass="maintainers">(Section suggested by JustSmile)</span>
216
+
217
+
Qunix is a Unix-like hobby operating system written in Rust. It includes a process model, virtual filesystem layer, memory management with COW fork and demand paging, an ELF loader, and a priority-based preemptive scheduler.
218
+
219
+
The project recently reached userspace and is making progress on POSIX compatibility. Its initial `v0.2.0` release adds 70+ userland utilities, including a shell (`qsh`), along with blocking pipes, a TTY subsystem, and POSIX-style signal delivery.
220
+
198
221
199
222
## Join Us?
200
223
201
-
Are you interested in Rust-based operating system development? Our `rust-osdev` organization is always open to new members and new projects. Just let us know if you want to join! A good way for getting in touch is our [Zulip chat](https://rust-osdev.zulipchat.com).
224
+
Are you interested in Rust-based operating system development? Our `rust-osdev` organization is always open to new members and new projects. Just let us know if you want to join! A good way to get in touch is our [Zulip chat](https://rust-osdev.zulipchat.com).
0 commit comments