mirror of https://github.com/apache/cloudstack.git
Merge pull request #2135 from shapeblue/force-stop-vm-kvm
[BLOCKER] CLOUDSTACK-9860: Fix stackoverflow issue
This commit is contained in:
commit
52232b92a0
|
|
@ -2733,7 +2733,7 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv
|
|||
if (forceStop) {
|
||||
return stopVMInternal(conn, vmName, true);
|
||||
}
|
||||
String ret = stopVM(conn, vmName, false);
|
||||
String ret = stopVMInternal(conn, vmName, false);
|
||||
if (ret == Script.ERR_TIMEOUT) {
|
||||
ret = stopVMInternal(conn, vmName, true);
|
||||
} else if (ret != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue