Eli Mesika has submitted this change and it was merged.

Change subject: core: duplicate cdrom created when cloning a VM from snapshot
......................................................................


core: duplicate cdrom created when cloning a VM from snapshot

When a VM is created from snapshot by clone, we should check if VM has already 
a CD
Currently a duplicate cdrom entry in vm_device is created

Steps to Reproduce:
1.Create VM
2.Create a snapshot for that VM
3.Right click on the snapshot and choose the clone option
4.The created VM have 2 cdrom entries in vm_device table

Change-Id: I77ef4a87ec636f5e01140b47b8fd82ca671d9539
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java
1 file changed, 14 insertions(+), 8 deletions(-)

Approvals:
  Eli Mesika: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I77ef4a87ec636f5e01140b47b8fd82ca671d9539
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to