[pve-devel] [PATCH qemu-server] migrate: skip tpmstate for NBD migration
Fabian Grünbichler
f.gruenbichler at proxmox.com
Tue Nov 16 11:52:15 CET 2021
the tpmstate volume is not available in the VM directly, but we do
migrate the state volume via a storage migration anyway if necessary.
this code path was only triggered for replicated VMs with TPM.
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
PVE/QemuServer.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 580af9e..76d45a2 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5238,6 +5238,7 @@ sub vm_migrate_get_nbd_disks {
my ($ds, $drive) = @_;
return if drive_is_cdrom($drive);
+ return if $ds eq 'tpmstate0';
my $volid = $drive->{file};
--
2.30.2
More information about the pve-devel
mailing list