Dan Kenigsberg has posted comments on this change.

Change subject: pad memory volume only when the storage domain is file based
......................................................................


Patch Set 3: -Code-Review

(1 comment)

http://gerrit.ovirt.org/#/c/26407/3/vdsm/virt/vm.py
File vdsm/virt/vm.py:

Line 3685:             # This code should be removed once qemu-img will handle 
files
Line 3686:             # with size that is not multiple of block size correctly.
Line 3687:             if memoryParams:
Line 3688:                 _padMemoryVolume(memoryVolPath, 
memoryVol['domainID'])
Line 3689:                 self.cif.teardownVolumePath(memoryVol)
> Teardown should happen anyway (also in case of exceptions).
+1, but please do that in a separate patch!
Line 3690: 
Line 3691:             for drive in newDrives.values():  # Update the drive 
information
Line 3692:                 try:
Line 3693:                     self.updateDriveParameters(drive)


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I0cebdbba2cc763963b64dcbc142f979802f18c16
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
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: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimo...@redhat.com>
Gerrit-Reviewer: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skriva...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeen...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to