[pve-devel] [PATCH] fix raise_param_exc in PVE::QemuServer::Memory::memory_unplug
Alexandre Derumier
aderumier at odiso.com
Wed Jun 8 11:10:25 CEST 2016
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
PVE/QemuServer/Memory.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/QemuServer/Memory.pm b/PVE/QemuServer/Memory.pm
index 376beb9..3cfd487 100644
--- a/PVE/QemuServer/Memory.pm
+++ b/PVE/QemuServer/Memory.pm
@@ -106,7 +106,7 @@ sub qemu_memory_hotplug {
sleep 3;
my $dimm_list = qemu_dimm_list($vmid);
last if !$dimm_list->{$name};
- raise_param_exc({ $name => "error unplug memory module" }) if $retry > 5;
+ PVE::QemuServer::raise_param_exc({ $name => "error unplug memory module" }) if $retry > 5;
$retry++;
}
--
2.1.4
More information about the pve-devel
mailing list