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 <aha...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Arik Hadas <aha...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Liron Ar <lara...@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> Gerrit-Reviewer: Roy Golan <rgo...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches