Add Trusted Platform Model (TPM) support to libvirt provider.#10824
Draft
rhjyoung wants to merge 3 commits intotheforeman:developfrom
Draft
Add Trusted Platform Model (TPM) support to libvirt provider.#10824rhjyoung wants to merge 3 commits intotheforeman:developfrom
rhjyoung wants to merge 3 commits intotheforeman:developfrom
Conversation
Qemu does not limit the firmware that TPM can run with. On x86-64 this works with both UEFI & Bios. Signed-off-by: Jerone Young <jyoung@redhat.com>
This was referenced Jan 17, 2026
Author
ekohl
reviewed
Jan 17, 2026
Member
ekohl
left a comment
There was a problem hiding this comment.
While it's being worked on, you can update this line:
Line 2 in 535de14
Set it to your branch:
gem 'fog-libvirt', github: 'rhjyoung/fog-libvirt', branch: 'develop'See https://bundler.io/guides/gemfile.html for more details.
That will also serve as a reminder that the minimum version there needs to be bumped.
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
Already defined default in fog-libvirt Signed-off-by: Jerone Young <jyoung@redhat.com>
Author
|
How would this work with hammer command line tool ? How would I define something like tpm=true if using hammer command line tool when using libvirt provider ? |
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.

Qemu does not limit the firmware that TPM can run with. On x86-64 this works with both UEFI & Bios. This is also the
same for other architectures.
Fixes Issue:
https://projects.theforeman.org/issues/38892
Awaiting PR from fog-libvirt:
fog/fog-libvirt#185
fog/fog-libvirt#178
Testing requires system using libvirt cluster.
Signed-off-by: Jerone Young jyoung@redhat.com