Change in ovirt-engine[master]: core: Update managed device map when importing a cloned VM.

mlipchuk at redhat.com mlipchuk at redhat.com
Thu Oct 10 08:14:31 UTC 2013


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: Update managed device map when importing a cloned VM.
......................................................................


core: Update managed device map when importing a cloned VM.

When importing a cloned VM or Template, we generate a new guid for each disk.
Those new guids should be correlated with the mangedDeviceMap contained
in the VM/Template, so it will keep all the devices configuration as in the old
VM/Template.

Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
Bug-Url: https://bugzilla.redhat.com/976469
Change-Id: I65a99cc0783f670b9288cc9a066cda4d253492a6
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmTemplateCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MoveOrCopyTemplateCommand.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/ImportVmCommandTest.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/ImportVmTemplateCommandTest.java
5 files changed, 116 insertions(+), 25 deletions(-)

Approvals:
  Maor Lipchuk: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I65a99cc0783f670b9288cc9a066cda4d253492a6
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgotliv at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list