[pve-devel] [PATCH 2/7] use qemu_drive_mirror_monitor in live full clone
Alexandre Derumier
aderumier at odiso.com
Thu Oct 20 02:35:11 CEST 2016
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
PVE/API2/Qemu.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index ad7a0c0..98865f6 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -2415,6 +2415,7 @@ __PACKAGE__->register_method({
PVE::QemuConfig->write_config($newid, $newconf);
}
+ PVE::QemuServer::qemu_drive_mirror_monitor($vmid,$newid) if $running && $param->{full} && !$snapname;
delete $newconf->{lock};
PVE::QemuConfig->write_config($newid, $newconf);
--
2.1.4
More information about the pve-devel
mailing list