[pve-devel] applied: [PATCH v2 qemu-server 3/4] backup: prepare: remove outdated QEMU version check

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Jul 3 15:10:09 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.0.1 is not required anymore.
> 
> Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
> ---
> 
> New in v2.
> 
>  PVE/VZDump/QemuServer.pm | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm
> index 8c97ee62..5248c6eb 100644
> --- a/PVE/VZDump/QemuServer.pm
> +++ b/PVE/VZDump/QemuServer.pm
> @@ -90,10 +90,6 @@ sub prepare {
>  	if (!$volume->{included}) {
>  	    $self->loginfo("exclude disk '$name' '$volid' ($volume->{reason})");
>  	    next;
> -	} elsif ($self->{vm_was_running} && $volume_config->{iothread} &&
> -		 !PVE::QemuServer::Machine::runs_at_least_qemu_version($vmid, 4, 0, 1)) {
> -	    die "disk '$name' '$volid' (iothread=on) can't use backup feature with running QEMU " .
> -		"version < 4.0.1! Either set backup=no for this drive or upgrade QEMU and restart VM\n";
>  	} else {
>  	    my $log = "include disk '$name' '$volid'";
>  	    if (defined(my $size = $volume_config->{size})) {
> -- 
> 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