]> git.proxmox.com Git - qemu-server.git/commitdiff
migration: handle replication: remove outdated and inaccurate check for QEMU version
authorFiona Ebner <f.ebner@proxmox.com>
Tue, 28 May 2024 08:50:03 +0000 (10:50 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 3 Jul 2024 13:08:47 +0000 (15:08 +0200)
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 <f.ebner@proxmox.com>
PVE/QemuMigrate.pm

index 33d5b2d1057a8455397344a95276cc1eaa8e8103..bdcc2e54399e4d6a9f5bbf5f6766da32d0739f9d 100644 (file)
@@ -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};