Arik Hadas has posted comments on this change.

Change subject: core: introduce command that removes hibernation volumes
......................................................................


Patch Set 1:

(2 comments)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveVmHibernationVolumesCommand.java
Line 41:         return AsyncTaskType.deleteImage;
Line 42:     }
Line 43: 
Line 44:     protected boolean removeMemoryVolumes(String memVols) {
Line 45:         // this is temp code until it will be implemented in SPM
no, not really :) it was just a copy-paste from VmCommand so this comment was 
copied as well, note that in latter patch this method is changed to use proper 
remover. I just wanted to do it incrementally
Line 46:         List<Guid> guids = GuidUtils.getGuidListFromString(memVols);
Line 47: 
Line 48:         if (guids.size() == 6) {
Line 49:             // get all vm disks in order to check post zero - if one 
of the


....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommandBase.java
Line 190: 
Line 191:         VdcReturnValueBase vdcRetValue = 
getBackend().runInternalAction(
Line 192:                 VdcActionType.RemoveVmHibernationVolumes,
Line 193:                 removeVmHibernationVolumesParameters,
Line 194:                 
ExecutionHandler.createDefaultContexForTasks(getExecutionContext()));
we didn't care before, I don't think we do now - retry doesn't make sense and 
it doesn't make sense to change anything in the VM (which reached up state) 
either. did you had anything in mind?
Line 195: 
Line 196:         for (Guid taskId : vdcRetValue.getInternalVdsmTaskIdList()) {
Line 197:             AsyncTaskManager.getInstance().StartPollingTask(taskId);
Line 198:         }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I425060c820e03f5818600fa119a70199d1a67840
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to