Currently backup don't work with iothread feature, and crash qemu

For now, disable backup for theses drives until backup code is fixed.

Upstream qemu backup cde already support iothread.
http://git.qemu.org/?p=qemu.git;a=commit;h=761731b1805f6ef64eb615e5b82a0801db3cde78

Signed-off-by: Alexandre Derumier <aderum...@odiso.com>
---
 PVE/VZDump/QemuServer.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm
index 314538f..dce79e6 100644
--- a/PVE/VZDump/QemuServer.pm
+++ b/PVE/VZDump/QemuServer.pm
@@ -69,6 +69,11 @@ sub prepare {
            return;
        }
 
+       if (defined($drive->{iothread}) && $drive->{iothread} eq "on") {
+           $self->loginfo("exclude disk '$ds' (iothread=on)");
+           return;
+       }
+
        my $volid = $drive->{file};
 
        my ($storeid, $volname) = PVE::Storage::parse_volume_id($volid, 1);
-- 
2.1.4

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to