Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

TPM

Direct answer

A vTPM exposes TPM semantics to the guest while its state/keys are protected and persisted by the virtualization platform. It is not the same as directly giving the guest the host physical TPM.

When to use this

Use it when a guest requires TPM capabilities, secure/measured boot integrations or when lifecycle operations must preserve vTPM state.

First 30 seconds

1. A vTPM provides TPM 2.0 to guests (Windows 11, BitLocker, measured boot).

2. Needs UEFI.

3. State must be backed up with the VM.

4. Hyper-V uses key protectors/guardian.

5. Migration must carry the state.

Operational verification

vTPM state → guest TPM driver → BitLocker/attestation

Evidence · next step

Verify the specific Secure Boot/encryption/attestation and disaster-recovery requirements.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show a complete attestation trust chain, physical TPM ownership or recovery outside the tested procedure.

Next check: Verify the specific Secure Boot/encryption/attestation and disaster-recovery requirements.

Platform / version applicability
virtualization-hardware
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-hardware
Scope / prerequisiteUse it when a guest requires TPM capabilities, secure/measured boot integrations or when lifecycle operations must pres…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

vTPM config → protected platform state/key backing → guest TPM driver/services → measured/sealed operation → workload/security feature

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • vTPM presence does not mean the guest owns the host physical TPM.
  • vTPM security depends on how the platform protects device state/keys.
  • Deleting/replacing vTPM state can break secrets sealed to it.
  • Migration/backup/restore must preserve the required vTPM security state and trust model.
Key checks
  • qm config <vmid> | grep tpmstate — vTPM (Proxmox)
  • Get-VMSecurity <vm> | fl TpmEnabled — Hyper-V vTPM
  • tpm2_getcap properties-fixed — guest sees TPM
ReferenceWhat it is1 section · depth on demand

Adding a vTPM

PlatformHow
vSphereRequires a key provider (native key provider is easiest); VM must use EFI
Hyper-VGen 2 VM, Enable-VMTPM with a key protector
Proxmoxqm set <id> --tpmstate0 local-lvm:1,version=v2.0 (OVMF)

Back up the key provider/key protector; without it, VMs with vTPM (and BitLocker) cannot start elsewhere.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Guest TPM detection shows device presentation, not Secure Boot, disk encryption, attestation trust or recoverability.

In depth

A virtual TPM (vTPM 2.0) gives guests measured boot, BitLocker key protection, Windows Hello and attestation — and is required by Windows 11 and Windows Server 2025 features.

PlatformRequirement
VMwarevCenter key provider (Native Key Provider or KMS); VM files encrypted
Hyper-VGen 2 VM, Key Protector (local Guarded Host or HGS)
Proxmox/QEMUtpmstate0 disk with swtpm, UEFI firmware
qm set 120 --tpmstate0 local-zfs:1,version=v2.0
Enable-VMTPM -VMName vm1

Back up the vTPM state with the VM; losing it means losing BitLocker keys sealed to it (have recovery keys escrowed).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-hardware current

Authoritative/upstream documentation reviewed for bounded claims in VM Hardware → Virtual Devices → TPM. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/docs.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
virtual TPMvTPMtpm virtual machine
Embedded reference data

Quick lookup tables

VM Hardware → Virtual Devices → TPM reference map

Fast VM-hardware boundaries for VM Hardware → Virtual Devices → TPM.

BoundaryMeaningEvidence limit
vTPM deviceGuest TPM interfaceVirtual device
State/key backingPlatform-protected persistent stateSecurity boundary
Guest featureMeasured boot/encryption/etc.Consumes TPM
LifecycleMigration/backup/restoreMust preserve trust/state
Confirmation

Confirm action

Continue?