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

Fiona Ebner f.ebner at proxmox.com
Tue May 28 10:50:04 CEST 2024


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





More information about the pve-devel mailing list