Arik Hadas has posted comments on this change.

Change subject: core: save memory state on live snapshot with memory
......................................................................


Patch Set 21: (2 inline comments)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/memory/DefaultMemoryImageBuilder.java
Line 32: 
Line 33:     public DefaultMemoryImageBuilder(VM vm, Guid storageDomainId,
Line 34:             StoragePool storagePool, TaskHandlerCommand<?> 
enclosingCommand) {
Line 35:         this.vm = vm;
Line 36:         this.enclosingCommand = enclosingCommand;
see the comment below
Line 37:         this.storageDomainId = storageDomainId;
Line 38:         this.storagePoolId = storagePool.getId();
Line 39:         this.memoryDumpImageGroupId = Guid.NewGuid();
Line 40:         this.memoryDumpVolumeId = Guid.NewGuid();


Line 71:         }
Line 72: 
Line 73:         Guid guid = 
enclosingCommand.createTask(retVal.getCreationInfo(),
Line 74:                 VdcActionType.CreateAllSnapshotsFromVm);
Line 75:         enclosingCommand.getTaskIdList().add(guid);
I agree, that's what I wanted to do in the beginning but it was too complicated 
to create the tasks, then I was told that it's a known issue and 
TaskHandlerCommand interface was created just for that use-case.. if you have a 
better suggestion, please describe it
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

Reply via email to