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 <aha...@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 <aha...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Arik Hadas <aha...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches