Change in ovirt-engine[master]: core: fix locks in runVm

mkublin at redhat.com mkublin at redhat.com
Thu Jun 21 11:36:55 UTC 2012


Michael Kublin has submitted this change and it was merged.

Change subject: core: fix locks in runVm
......................................................................


core: fix locks in runVm

locks prevented create-snapshot running during run-vm
which caused stateless and pool-vms not to run.

solution is to send the lock from run-vm to create-snapshot,
so it wouldn't try to acquire it again.

Change-Id: I5aa7d184955f4fb7103f5c95023efa4a3288b753
Signed-off-by: Omer Frenkel <ofrenkel at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/context/CommandContext.java
3 files changed, 23 insertions(+), 12 deletions(-)

Approvals:
  Michael Kublin: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/5588
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5aa7d184955f4fb7103f5c95023efa4a3288b753
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list