Omer Frenkel has submitted this change and it was merged.
Change subject: core: prevent running vms when rng is not supported
......................................................................
core: prevent running vms when rng is not supported
This patch prevents vms with active rng device to run when rng device is
not required by cluster. This situation could possibly happen when admin
deselects required rng sources on cluster level, but there are already
vms with rng (with such source) created in the cluster.
Change-Id: Ia67a0a9b2a000670d60e3cc362c93023ddf69f38
Signed-off-by: Frantisek Kobzik <fkobzik(a)redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
M
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/RunVmCommandTest.java
2 files changed, 91 insertions(+), 2 deletions(-)
Approvals:
Omer Frenkel: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/28796
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia67a0a9b2a000670d60e3cc362c93023ddf69f38
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Frank Kobzik <fkobzik(a)redhat.com>
Gerrit-Reviewer: Frank Kobzik <fkobzik(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server