mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-15 00:59:00 +00:00
migrate: skip tpmstate for NBD migration
This patch fixes the wrong attempt of setting up an NBD server for the replicated TPM state volume, in contrast to the other volumes the TPM state is managed by swtpm and isn't available to QEMU for block-migration/bitmap tracking. Note that 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@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
248fab7a08
commit
41c8671e78
@ -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};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user