From d0fb8f8239eba3e9af0acd5a5ef47bf853eae0e5 Mon Sep 17 00:00:00 2001 From: Fiona Ebner Date: Tue, 28 May 2024 10:50:03 +0200 Subject: [PATCH] migration: handle replication: remove outdated and inaccurate check for QEMU version In Proxmox VE 8, the oldest supported QEMU version is 8.0, so a check for version 4.2 is not required anymore. The check was also wrong, because it checked the installed version and not the currently running one. Signed-off-by: Fiona Ebner --- PVE/QemuMigrate.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm index 33d5b2d1..bdcc2e54 100644 --- a/PVE/QemuMigrate.pm +++ b/PVE/QemuMigrate.pm @@ -544,12 +544,6 @@ sub handle_replication { if $self->{opts}->{remote}; if ($self->{running}) { - - my $version = PVE::QemuServer::kvm_user_version(); - if (!min_version($version, 4, 2)) { - die "can't live migrate VM with replicated volumes, pve-qemu to old (< 4.2)!\n" - } - my @live_replicatable_volumes = $self->filter_local_volumes('online', 1); foreach my $volid (@live_replicatable_volumes) { my $drive = $local_volumes->{$volid}->{drivename};