Change in ovirt-engine[ovirt-engine-3.5.0]: core, engine: Avoid creating the CD device multiple times

Tal Nisan has submitted this change and it was merged. Change subject: core, engine: Avoid creating the CD device multiple times ...................................................................... core, engine: Avoid creating the CD device multiple times When there are more than one device attached to the blank template, the AddVmCommand creates multiple CD devices which conflict with each other. This change fixes this issue, but still assumes that the blank template has at least one device attached to it. Change-Id: Iff3c5a34dd0fe6cfb6b4ab3bc77d34c4c0b57939 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1075102 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1149637 Signed-off-by: Vitor de Lima <vitor.lima@eldorado.org.br> Signed-off-by: Omer Frenkel <ofrenkel@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java 1 file changed, 2 insertions(+), 0 deletions(-) Approvals: Omer Frenkel: Verified Arik Hadas: Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/33886 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iff3c5a34dd0fe6cfb6b4ab3bc77d34c4c0b57939 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5.0 Gerrit-Owner: Omer Frenkel <ofrenkel@redhat.com> Gerrit-Reviewer: Arik Hadas <ahadas@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofrenkel@redhat.com> Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski@gmail.com> Gerrit-Reviewer: Sandro Bonazzola <sbonazzo@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: Vitor de Lima <vdelima@redhat.com> Gerrit-Reviewer: automation@ovirt.org
participants (1)
-
tnisan@redhat.com