bug 9392: don't lock domr entry, otherwise updating domr state fails

status 9392: resolved fixed
This commit is contained in:
anthony 2011-04-11 16:04:40 -07:00
parent 90f79a8211
commit bd6661c3d2
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,7 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager, Listene
s_logger.debug("Determining why we're unable to update the state to Starting for " + vm);
}
VMInstanceVO instance = _vmDao.lockRow(vmId, true);
VMInstanceVO instance = _vmDao.findById(vmId);
if (instance == null) {
throw new ConcurrentOperationException("Unable to acquire lock on " + vm);
}