[pve-devel] applied: [PATCH v2 qemu-server 2/4] migration: handle replication: remove outdated and inaccurate check for QEMU version

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Jul 3 15:10:00 CEST 2024


On May 28, 2024 10:50 am, Fiona Ebner wrote:
> 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 at proxmox.com>
> ---
> 
> New in v2.
> 
>  PVE/QemuMigrate.pm | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
> index d7ee4a5b..34fc46ee 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};
> -- 
> 2.39.2
> 
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 
> 
> 




More information about the pve-devel mailing list