Skip to content

Conversation

@rhjyoung
Copy link

@rhjyoung rhjyoung commented Jan 17, 2026

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

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>
@rhjyoung rhjyoung changed the title Add Trusted Computing Model support to libvirt provider. Add Trusted Platform Model (TPM) support to libvirt provider. Jan 17, 2026
@rhjyoung rhjyoung marked this pull request as draft January 17, 2026 15:07
@rhjyoung
Copy link
Author

image

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

While it's being worked on, you can update this line:

gem 'fog-libvirt', '>= 0.14.0'

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>
@rhjyoung
Copy link
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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants