Skip to content

Conversation

@diafour
Copy link
Member

@diafour diafour commented Dec 29, 2025

Description

  • Make swtpm, libgmp and gnutls compatible with x86-64-v2 CPUs.
  • libgmp contains lot of optimizations for x86 microarchitectures, use the most portable but not the most performant.
  • Prevent internet access in gnutls builder.

Why do we need it, and what problem does it solve?

We want to run Windows VM with TPM on older CPU microarchitectures which supports at least x86-64-v2 level, i.e. Sandy Bridge.

What is the expected result?

  1. Windows VM with TPM runs on older CPU.
  2. No trap invalid opcode messages in dmegs logs: journalctl --dmesg | grep traps:.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: module
type: chore
summary: Compile swtpm and libraries with x86-64-v2 compatibility.

@diafour diafour added this to the v1.5.0 milestone Dec 29, 2025
@diafour diafour force-pushed the chore/module/gnutls-x86-v2-compatibility branch from f94b077 to bf27e17 Compare January 12, 2026 14:35
@diafour diafour marked this pull request as draft January 12, 2026 22:18
@diafour diafour changed the title chore(module): compile gnutls with x86 v2 compatibility chore(module): make swtpm and libraries compatible with x86-64-v2 CPUs Jan 13, 2026
- Make swtpm, libgmp and gnutls compatible with x86-64-v2 CPUs.
- libgmp contains lot of optimizations for x86 microarchitectures, use the most portable but not the most performant.
- Prevent internet access in gnutls builder.

Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
@diafour diafour force-pushed the chore/module/gnutls-x86-v2-compatibility branch from 1469831 to 672edf2 Compare January 13, 2026 12:52
@diafour diafour marked this pull request as ready for review January 13, 2026 13:04
@diafour diafour requested a review from Isteb4k January 13, 2026 13:07
nevermarine
nevermarine previously approved these changes Jan 13, 2026
Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
@diafour diafour added the e2e/run Run e2e test on cluster of PR author label Jan 14, 2026
@deckhouse-BOaTswain
Copy link
Contributor

deckhouse-BOaTswain commented Jan 14, 2026

Workflow has started.
Follow the progress here: Workflow Run

The target step completed with status: failure.

@deckhouse-BOaTswain deckhouse-BOaTswain removed the e2e/run Run e2e test on cluster of PR author label Jan 14, 2026
@diafour diafour added e2e/user/universal-itengineer e2e/run Run e2e test on cluster of PR author labels Jan 14, 2026
@deckhouse-BOaTswain deckhouse-BOaTswain removed the e2e/run Run e2e test on cluster of PR author label Jan 14, 2026
@diafour diafour added the e2e/run Run e2e test on cluster of PR author label Jan 14, 2026
@deckhouse-BOaTswain
Copy link
Contributor

deckhouse-BOaTswain commented Jan 14, 2026

Workflow has started.
Follow the progress here: Workflow Run

The target step completed with status: failure.

@deckhouse-BOaTswain deckhouse-BOaTswain removed the e2e/run Run e2e test on cluster of PR author label Jan 14, 2026
@diafour
Copy link
Member Author

diafour commented Jan 14, 2026

StorageClassMigration test is passed when run manually:

Ran 8 of 158 Specs in 1316.145 seconds
SUCCESS! -- 8 Passed | 0 Failed | 0 Pending | 150 Skipped

@diafour diafour merged commit 0ef963e into main Jan 14, 2026
155 of 206 checks passed
@diafour diafour deleted the chore/module/gnutls-x86-v2-compatibility branch January 14, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants