Skip to content

Commit e78e107

Browse files
authored
Merge pull request #88581 from jhradilek/CNV-47151-vtpm-device-snapshots
CNV-47151: Add information about vTPM device snapshots
2 parents 4eb7aa6 + 85fbc0d commit e78e107

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

modules/virt-about-vtpm-devices.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,10 @@
88

99
A virtual Trusted Platform Module (vTPM) device functions like a
1010
physical Trusted Platform Module (TPM) hardware chip.
11-
1211
You can use a vTPM device with any operating system, but Windows 11 requires
1312
the presence of a TPM chip to install or boot. A vTPM device allows VMs created
1413
from a Windows 11 image to function without a physical TPM chip.
1514

16-
If you do not enable vTPM, then the VM does not recognize a TPM device, even if
17-
the node has one.
18-
1915
A vTPM device also protects virtual machines by storing secrets without physical hardware. {VirtProductName} supports persisting vTPM device state by using Persistent Volume Claims (PVCs) for VMs. You must specify the storage class to be used by the PVC by setting the `vmStateStorageClass` attribute in the `HyperConverged` custom resource (CR):
2016

2117
[source,yaml]
@@ -29,3 +25,6 @@ spec:
2925
# ...
3026
----
3127

28+
If you do not enable vTPM, then the VM does not recognize a TPM device, even if
29+
the node has one.
30+

virt/creating_vms_advanced/creating_vms_advanced_web/virt-cloning-vms.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ toc::[]
88

99
You can clone virtual machines (VMs) or create new VMs from snapshots.
1010

11+
[IMPORTANT]
12+
====
13+
Cloning a VM with a vTPM device attached to it or creating a new VM from its snapshot is not supported.
14+
====
15+
1116
include::modules/virt-cloning-vm-web.adoc[leveloffset=+1]
1217

1318
include::modules/virt-creating-vm-from-snapshot-web.adoc[leveloffset=+1]
@@ -16,4 +21,4 @@ include::modules/virt-creating-vm-from-snapshot-web.adoc[leveloffset=+1]
1621
[id="additional-resources_{context}"]
1722
== Additional resources
1823

19-
* xref:../../../virt/creating_vms_advanced/creating_vms_cli/virt-creating-vms-by-cloning-pvcs.adoc#virt-creating-vms-by-cloning-pvcs[Creating VMs by cloning PVCs]
24+
* xref:../../../virt/creating_vms_advanced/creating_vms_cli/virt-creating-vms-by-cloning-pvcs.adoc#virt-creating-vms-by-cloning-pvcs[Creating VMs by cloning PVCs]

virt/managing_vms/virt-using-vtpm-devices.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,11 @@ Add a virtual Trusted Platform Module (vTPM) device to a new or existing virtual
1010
machine by editing the `VirtualMachine` (VM) or `VirtualMachineInstance` (VMI)
1111
manifest.
1212

13+
[IMPORTANT]
14+
====
15+
With {VirtProductName} 4.18 and newer, you can xref:../../virt/managing_vms/virt-exporting-vms.adoc#virt-exporting-vms[export virtual machines] (VMs) with attached vTPM devices, xref:../../virt/backup_restore/virt-backup-restore-snapshots.adoc#creating-snapshots_virt-backup-restore-snapshots[create snapshots of these VMs], and xref:../../virt/backup_restore/virt-backup-restore-snapshots.adoc#restoring-vms-from-snapshots_virt-backup-restore-snapshots[restore VMs from these snapshots]. However, cloning a VM with a vTPM device attached to it or creating a new VM from its snapshot is not supported.
16+
====
17+
1318
include::modules/virt-about-vtpm-devices.adoc[leveloffset=+1]
19+
1420
include::modules/virt-adding-vtpm-to-vm.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)