Skip to content

feat: add software TPM support to libvirtd - #1260

Merged
talos-bot merged 1 commit into
siderolabs:mainfrom
frezbo:feat/libvirtd-swtpm
Sep 24, 2026
Merged

talos-bot merged 1 commit into
siderolabs:mainfrom
frezbo:feat/libvirtd-swtpm

Conversation

@frezbo

@frezbo frezbo commented Sep 23, 2026

Copy link
Copy Markdown
Member

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.

Copilot AI lite review requested due to automatic review settings September 23, 2026 15:04
@github-project-automation github-project-automation Bot moved this to To Do in Planning Sep 23, 2026
@talos-bot talos-bot moved this from To Do to In Review in Planning Sep 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 High severity

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.

Comment thread hypervisors/libvirtd/pkg.yaml Outdated
@frezbo frezbo changed the title rfeat: add software TPM support to libvirtd feat: add software TPM support to libvirtd Sep 23, 2026
@frezbo
frezbo force-pushed the feat/libvirtd-swtpm branch from 4fa19d5 to 90c7c5f Compare September 24, 2026 09:31
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
frezbo force-pushed the feat/libvirtd-swtpm branch from 90c7c5f to e3b52eb Compare September 24, 2026 10:53
@shanduur
shanduur self-requested a review September 24, 2026 11:38
@frezbo

frezbo commented Sep 24, 2026

Copy link
Copy Markdown
Member Author

/m

@talos-bot
talos-bot merged commit e3b52eb into siderolabs:main Sep 24, 2026
14 checks passed
@frezbo
frezbo deleted the feat/libvirtd-swtpm branch September 24, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Proposed
Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants