mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-02-10 13:57:37 +03: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}) {
|
||||
$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})) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user