[PR #322] [MERGED] Feature: TPM State #392

Closed
opened 2026-02-28 00:42:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/322
Author: @Tinyblargon
Created: 3/14/2024
Status: Merged
Merged: 4/9/2024
Merged by: @Tinyblargon

Base: masterHead: Feature#241


📝 Commits (2)

📊 Changes

4 files changed (+257 additions, -13 deletions)

View changed files

📝 proxmox/config_qemu.go (+36 -3)
📝 proxmox/config_qemu_test.go (+62 -10)
proxmox/config_qemu_tpm.go (+94 -0)
proxmox/config_qemu_tpm_test.go (+65 -0)

📄 Description

Adding support for tpmstate0

During testing of #321
I came to the conclusion that there isn't a way of updating the TPM state in proxmox, it has to be recreated.
The TPM state also acts like a Disk in the sense that it can be migrated to a different storage.

Closes #241

P.S. at some point I'll restructure the test in proxmox/config_qemu_test.go as it is becoming quite unwieldy.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Telmate/proxmox-api-go/pull/322 **Author:** [@Tinyblargon](https://github.com/Tinyblargon) **Created:** 3/14/2024 **Status:** ✅ Merged **Merged:** 4/9/2024 **Merged by:** [@Tinyblargon](https://github.com/Tinyblargon) **Base:** `master` ← **Head:** `Feature#241` --- ### 📝 Commits (2) - [`4a24c6f`](https://github.com/Telmate/proxmox-api-go/commit/4a24c6f94fb39531c8b3e45a203ab0e8a1f80f48) feat: TPM state - [`075ecad`](https://github.com/Telmate/proxmox-api-go/commit/075ecad3b21ef46f5ed4309981c3fb55e4380b21) test: TPM State ### 📊 Changes **4 files changed** (+257 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `proxmox/config_qemu.go` (+36 -3) 📝 `proxmox/config_qemu_test.go` (+62 -10) ➕ `proxmox/config_qemu_tpm.go` (+94 -0) ➕ `proxmox/config_qemu_tpm_test.go` (+65 -0) </details> ### 📄 Description Adding support for `tpmstate0` During testing of #321 I came to the conclusion that there isn't a way of updating the TPM state in proxmox, it has to be recreated. The TPM state also acts like a Disk in the sense that it can be migrated to a different storage. Closes #241 P.S. at some point I'll restructure the test in `proxmox/config_qemu_test.go` as it is becoming quite unwieldy. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:42:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#392
No description provided.