mirror of https://github.com/apache/cloudstack.git
sychronized migrate command, happened see that migrating failed, due to conflict in vnc port allocation
This commit is contained in:
parent
200da6d39d
commit
fd944d646d
|
|
@ -1591,7 +1591,7 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv
|
|||
return command.execute();
|
||||
}
|
||||
|
||||
private Answer execute(MigrateCommand cmd) {
|
||||
private synchronized Answer execute(MigrateCommand cmd) {
|
||||
String vmName = cmd.getVmName();
|
||||
|
||||
State state = null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue