mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-06-15 21:47:05 +00:00
backup: prepare: remove outdated QEMU version check
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@proxmox.com>
This commit is contained in:
parent
d0fb8f8239
commit
c06503872d
@ -90,10 +90,6 @@ sub prepare {
|
|||||||
if (!$volume->{included}) {
|
if (!$volume->{included}) {
|
||||||
$self->loginfo("exclude disk '$name' '$volid' ($volume->{reason})");
|
$self->loginfo("exclude disk '$name' '$volid' ($volume->{reason})");
|
||||||
next;
|
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 {
|
} else {
|
||||||
my $log = "include disk '$name' '$volid'";
|
my $log = "include disk '$name' '$volid'";
|
||||||
if (defined(my $size = $volume_config->{size})) {
|
if (defined(my $size = $volume_config->{size})) {
|
||||||
|
Loading…
Reference in New Issue
Block a user