Arik Hadas has posted comments on this change.
Change subject: core: save memory state on live snapshot with memory
......................................................................
Patch Set 21: (1 inline comment)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/memory/DefaultMemoryImageBuilder.java
Line 71: }
Line 72:
Line 73: Guid guid =
enclosingCommand.createTask(retVal.getCreationInfo(),
Line 74: VdcActionType.CreateAllSnapshotsFromVm);
Line 75: enclosingCommand.getTaskIdList().add(guid);
that's good when there's one task, when you have several tasks (and here you
have 2) then you need to return collection of results/creation info, and maybe
attach other information (see lines 104 and 105) - I think it's not a good
solution, it's better to pass the command casted as TaskHandlerCommand IMO..
Line 76: }
Line 77:
Line 78: private void createImageForMemoryDump() {
Line 79: VDSReturnValue retVal =
--
To view, visit http://gerrit.ovirt.org/14291
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifbb28efda1b63e506233a88399488a256e6ab1c8
Gerrit-PatchSet: 21
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Ar <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches