feat: add software TPM support to libvirtd - #1260
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Fix the swtpm configuration source path so the expected relocated configuration is created.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
Adds software TPM support to libvirt by packaging swtpm and its runtime dependencies.
Changes:
- Adds TPM libraries, runtime files, SBOMs, and licensing metadata.
- Relocates swtpm configuration and helpers under
/usr/local. - Updates build metadata, dependencies, and workflow action pins.
| File | Summary |
|---|---|
Pkgfile |
Updates builder and package versions. |
Makefile |
Updates generated build metadata. |
hypervisors/libvirtd/virtqemud.yaml |
Configures swtpm paths. |
hypervisors/libvirtd/pkg.yaml |
Packages swtpm dependencies, configuration, and SBOMs; the configuration copy path currently nests files incorrectly, blocking relocation. |
.kres.yaml |
Updates the package image reference. |
.github/workflows/weekly.yaml |
Updates the Buildx action pin. |
.github/workflows/grype-scan-cron.yaml |
Updates the Buildx action pin. |
.github/workflows/ci.yaml |
Updates Buildx action pins. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
frezbo
force-pushed
the
feat/libvirtd-swtpm
branch
from
September 24, 2026 09:31
4fa19d5 to
90c7c5f
Compare
Package swtpm and its runtime dependencies so libvirt can provide emulated TPM devices. Relocate helper configuration under /usr/local while keeping writable CA state in /var, and ship package SBOMs with the complete TCG license definition. Signed-off-by: Noel Georgi <git@frezbo.dev>
frezbo
force-pushed
the
feat/libvirtd-swtpm
branch
from
September 24, 2026 10:53
90c7c5f to
e3b52eb
Compare
shanduur
self-requested a review
September 24, 2026 11:38
shanduur
approved these changes
Sep 24, 2026
smira
approved these changes
Sep 24, 2026
Member
Author
|
/m |
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.

Package swtpm and its runtime dependencies so libvirt can provide emulated TPM devices. Relocate helper configuration under /usr/local while keeping writable CA state in /var, and ship package SBOMs with the complete TCG license definition.