Skip to content

Commit 50bc4e7

Browse files
committed
Various improvements
1 parent ceeb4f7 commit 50bc4e7

1 file changed

Lines changed: 48 additions & 25 deletions

File tree

content/this-month/2026-04/index.md

Lines changed: 48 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
+++
22
title = "This Month in Rust OSDev: April 2026"
3-
date = 2026-05-05
3+
date = 2026-05-14
44

55
[extra]
66
month = "April 2026"
@@ -17,7 +17,7 @@ Please submit interesting posts and projects for the next issue [on Zulip](https
1717

1818
<span class="gray">
1919
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.
2121
</span>
2222

2323

@@ -40,18 +40,22 @@ Please follow this template:
4040
- (optional) Some additional context
4141
-->
4242

43-
- [octopos: xv6 based 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)
4444
- 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.
4549
- [Bringing Rust to the Pixel Baseband](https://blog.google/security/bringing-rust-to-the-pixel-baseband/)
4650
- 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.
4751
- [tinyboot v0.4.0 Released -- The API is Stable](https://aaronqian.com/log/2026-04-22-tinyboot-v040-released/)
4852
- 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.
5353
- [Using Rust to Build a $1 Handheld Gaming Console](https://chrisdell.info/using-rust-to-build-a-1-dollar-handheld-gaming-console/)
5454
- 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.
5559

5660
## Infrastructure and Tooling
5761

@@ -67,14 +71,14 @@ In this section, we collect recent updates to `rustc`, `cargo`, and other toolin
6771
- [Rust 1.95.0](https://blog.rust-lang.org/2026/04/16/Rust-1.95.0/)
6872
- Stabilizes `cfg_select!`, atomic `update`/`try_update` methods, and allocator layout helpers such as `Layout::{dangling_ptr, repeat, repeat_packed, extend_packed}`.
6973
- 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.
7076
- [Add `-Zsanitize=kernel-hwaddress`](https://github.com/rust-lang/rust/pull/153049)
7177
- Adds nightly support for the kernel hardware address sanitizer mode used by Linux's `CONFIG_KASAN_SW_TAGS`.
7278
- [Mitigation enforcement RFC](https://github.com/rust-lang/rfcs/pull/3855)
73-
- Approved RFC for tracking and enforcing target-wide exploit mitigation options such as stack protector settings.
79+
- An approved RFC for tracking and enforcing target-wide exploit mitigation options such as stack protector settings.
7480
- [build-std: always RFC](https://github.com/rust-lang/rfcs/pull/3874)
7581
- 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.
7882

7983
## `rust-osdev` Projects
8084

@@ -92,16 +96,28 @@ In this section, we give an overview of notable changes to the projects hosted u
9296
<<changelog, either in list or text form>>
9397
-->
9498

99+
### [`pvh`](https://github.com/rust-osdev/pvh)
100+
<span class="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+
95111
### [`acpi`](https://github.com/rust-osdev/acpi)
96112
<span class="maintainers">Maintained by [@IsaacWoods](https://github.com/IsaacWoods)</span>
97113

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.
99115

100116
We merged the following changes this month:
101117

102118
- [Support multiple tables per test in `aml_tester`](https://github.com/rust-osdev/acpi/pull/284)
103119
- [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)
105121
- [Remove some AML-triggerable panics from library](https://github.com/rust-osdev/acpi/pull/276)
106122
- [Derive Clone, Debug on useful objects](https://github.com/rust-osdev/acpi/pull/287)
107123
- [(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
139155

140156
The `bootloader` crate implements a custom Rust-based bootloader for easy loading of 64-bit ELF executables. This month, we merged the following change:
141157

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)
143159

144160
<!-- - [Bump rand from 0.8.5 to 0.8.6](https://github.com/rust-osdev/bootloader/pull/559) -->
145161
<!-- - [Bump rustls-webpki from 0.103.10 to 0.103.13 in /examples/basic](https://github.com/rust-osdev/bootloader/pull/560) -->
146162

147163
Thanks to [@peppergrayxyz](https://github.com/peppergrayxyz) for their contribution!
148164

149165

150-
### [`linked-list-allocator`](https://github.com/rust-osdev/linked-list-allocator)
151-
<span class="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!
158-
159-
160166
### [`x86_64`](https://github.com/rust-osdev/x86_64)
161167
<span class="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>
162168

@@ -166,6 +172,16 @@ We merged the following PR this month:
166172

167173
- [insert NOP after STI](https://github.com/rust-osdev/x86_64/pull/588)
168174

175+
176+
### [`linked-list-allocator`](https://github.com/rust-osdev/linked-list-allocator)
177+
<span class="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+
169185
## Other Projects
170186

171187
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:
188204

189205
- **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.
190206
- **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.
192208
- **Multi-VM**: 2 Linux VMs time-sliced with VMID-tagged TLBs and per-VM Stage-2 page tables.
193209
- **SMP**: Both 4-vCPU-on-1-pCPU (round-robin scheduler) and 4-vCPU-on-4-pCPU (1:1 affinity) modes.
194210
- **SP-to-SP**: CallStack cycle detection, recursive dispatch, chain preemption, secure virtual interrupt injection via HCR_EL2.VI.
195211
- **34 test suites** with ~457 assertions running on QEMU, plus 20/20 BL33 E2E integration tests.
196212

197213

214+
### [`MohammadMuzamil23/Qunix-Operating-System`](https://github.com/MohammadMuzamil23/Qunix-Operating-System)
215+
<span class="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+
198221

199222
## Join Us?
200223

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

Comments
 (0)