String msg = "VM " + vmName + " is on other host and we have no resource available to migrate and start it here";
s_logger.error(msg);
throw new Exception(msg);
}
if (!vmMo.relocate(morTargetPhysicalHost)) {
String msg = "VM " + vmName + " is on other host and we failed to relocate it here";
s_logger.error(msg);
throw new Exception(msg);
}