Repository navigation
feat(host-dom0): add a dom0-only host kernel variant - #296
Merged
Merged
Conversation
As Xen installs boot the host kernel only as dom0, we can tailor a minimized kernel config in order to reduce space and attack surface. Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
89luca89
requested review from
alexandermerritt,
azenla,
bleggett,
kaniini and
tycho
as code owners
November 5, 2026 07:22
bleggett
approved these changes
Nov 5, 2026
Contributor
Author
|
In order to check that host-dom0 can replace the host kernel on Xen installs, I ran a smoke test on |
Contributor
Author
|
Merging this now, then @azenla we can decide the work on the installer, the tests, and next steps 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As Xen installs boot the host kernel only as dom0, we can tailor a minimized kernel config in
order to reduce space and attack surface. This adds a
host-dom0variant on top ofhost,published as
host-dom0-kernel, whilehoststays as it is for KVM hosts.We drop what a dom0 never runs, like KVM, VFIO, vhost and the x86 IOMMU and cpufreq drivers, and
what our hosts don't need, like audio, video, radios, legacy buses, host GPU drivers, unused
protocols and services, and arm64 platforms other than Graviton and Grace. Xen backends, cloud
NICs and disks, Hyper-V and Grace support stay.
CVEs are counted from the 17,828 kernel CNA records whose fix touches C code the build compiles;
all rows are lko builds of 6.18-lts 8a4c2881a (6.18.60). Switching protect's Xen installs to
host-dom0-kernelis a follow-up.Fixes RES-155