Liron Aravot has posted comments on this change.
Change subject: core: enable export/import of diskless VM/VM with no snappable
disks(#838937)
......................................................................
Patch Set 8: (4 inline comments)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ExportVmCommand.java
Line 207: return !disksImages.isEmpty();
Done
Line 429: private void endCopyCollapseOperations(VM vm) {
I prefer to send the VM where possible instead of repeat VM vm = getVM(), it
reduces the times we call getVM() method, number of created references and
decouple the implementation from getVM() in case of future changes (for example
- seperate the implementation to different classes) - so I'd like to leave it
that way.
Line 441:
vm.setSnapshots(DbFacade.getInstance().getSnapshotDao().getAllWithConfiguration(getVm().getId()));
getSnapshotDao() is not defined for this class, may be changed in a separate
patch for the whole class.
Line 447: VmHandler.UnLockVm(vm.getId());
Done
--
To view, visit http://gerrit.ovirt.org/6379
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I77565ffd66134b44d15f66cfdfa97422e3c11fb2
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches