Use it when a guest requires TPM capabilities, secure/measured boot integrations or when lifecycle operations must preserve vTPM state.
TPM
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.
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.
vTPM state → guest TPM driver → BitLocker/attestation
Verify the specific Secure Boot/encryption/attestation and disaster-recovery requirements.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
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.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- 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.
qm config <vmid> | grep tpmstate— vTPM (Proxmox)Get-VMSecurity <vm> | fl TpmEnabled— Hyper-V vTPMtpm2_getcap properties-fixed— guest sees TPM
ReferenceWhat it is1 section · depth on demand
Adding a vTPM
| Platform | How |
|---|---|
| vSphere | Requires a key provider (native key provider is easiest); VM must use EFI |
| Hyper-V | Gen 2 VM, Enable-VMTPM with a key protector |
| Proxmox | qm 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.
| Platform | Requirement |
|---|---|
| VMware | vCenter key provider (Native Key Provider or KMS); VM files encrypted |
| Hyper-V | Gen 2 VM, Key Protector (local Guarded Host or HGS) |
| Proxmox/QEMU | tpmstate0 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).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
VM Hardware → Virtual Devices → TPM reference map
Fast VM-hardware boundaries for VM Hardware → Virtual Devices → TPM.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| vTPM device | Guest TPM interface | Virtual device |
| State/key backing | Platform-protected persistent state | Security boundary |
| Guest feature | Measured boot/encryption/etc. | Consumes TPM |
| Lifecycle | Migration/backup/restore | Must preserve trust/state |