Change in ovirt-engine[engine_3.1]: core: fix locks in runVm
ofrenkel at redhat.com
ofrenkel at redhat.com
Thu Jun 21 12:53:52 UTC 2012
Omer Frenkel 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>
(cherry picked from commit de23ac282353163d82ee0fe8e543b5263d832f64)
---
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:
Ofer Schreiber: Looks good to me, but someone else must approve
Omer Frenkel: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/5589
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5aa7d184955f4fb7103f5c95023efa4a3288b753
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: engine_3.1
Gerrit-Owner: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
More information about the Engine-commits
mailing list