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 63ada2ef7e
commit ac223c197f
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,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);
}