[pve-devel] [PATCH] vzdump : exclude iothread disks
Alexandre Derumier
aderumier at odiso.com
Mon Jul 20 12:13:05 CEST 2015
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 <aderumier at 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
More information about the pve-devel
mailing list