[pve-devel] [PATCH qemu-server] fix #1071: VMs with IOThread enabled disks can now be backed up

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Oct 21 17:31:38 CEST 2019


Thanks to Dietmars patch[0] those VMs can now be backed up
successfully, so remove this aborting check.

[0]: https://git.proxmox.com/?p=pve-qemu.git;a=commit;h=69cb18950a705b54f438f4659b603b3f52901c2f

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---

While tested a bit, much more testing wouldn't hurt for sure ;)

 PVE/VZDump/QemuServer.pm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm
index b8d8fa9..a918429 100644
--- a/PVE/VZDump/QemuServer.pm
+++ b/PVE/VZDump/QemuServer.pm
@@ -73,8 +73,6 @@ sub prepare {
 	if (defined($drive->{backup}) && !$drive->{backup}) {
 	    $self->loginfo("exclude disk '$ds' '$volid' (backup=no)");
 	    return;
-	} elsif ($drive->{iothread}) {
-	    die "disk '$ds' '$volid' (iothread=on) can't use backup feature currently. Please set backup=no for this drive";
 	} else {
 	    my $log = "include disk '$ds' '$volid'";
 	   if (defined $drive->{size}) {
-- 
2.20.1





More information about the pve-devel mailing list