Change in ovirt-engine[master]: core: prevent to run VM with cd-rom with no iso domain

ofrenkel at redhat.com ofrenkel at redhat.com
Thu Aug 15 15:02:00 UTC 2013


Omer Frenkel has submitted this change and it was merged.

Change subject: core: prevent to run VM with cd-rom with no iso domain
......................................................................


core: prevent to run VM with cd-rom with no iso domain

Add canDoAction() check that forbids running VM which is defined with
cd-rom when no active iso domain exists. This can-do-action check
replace other check that was exists in attachCd method that throwed an
exception in this case.

Change-Id: Idad3c5b812ce4744d3d610341e76af4c24ce0bae
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
1 file changed, 9 insertions(+), 13 deletions(-)

Approvals:
  Omer Frenkel: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Idad3c5b812ce4744d3d610341e76af4c24ce0bae
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list