Maor Lipchuk has posted comments on this change. Change subject: core: configurable format and type for base volume of template ......................................................................
Patch Set 4: (1 comment) https://gerrit.ovirt.org/#/c/38376/4/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java: Line 224: createParams.setParentParameters(getParameters()); Line 225: createParams.setQuotaId(getQuotaIdForDisk(diskImage)); Line 226: createParams.setDiskProfileId(imageFromParams.getDiskProfileId()); Line 227: createParams.setVolumeFormat(imageFromParams.getVolumeFormat()); Line 228: createParams.setVolumeType(imageFromParams.getVolumeType()); I think you should add a CDA once you let the user choose the format and type. For example IINM sparse and raw should not be supported for block. Line 229: return createParams; Line 230: } Line 231: Line 232: private CloneCinderDisksParameters buildCinderChildCommandParameters(List<CinderDisk> cinderDisks, Guid vmSnapshotId) { -- To view, visit https://gerrit.ovirt.org/38376 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I9ed39f0360c09799581f146b282e7ccadd1109d9 Gerrit-PatchSet: 4 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: Jenkins CI Gerrit-Reviewer: Maor Lipchuk <[email protected]> Gerrit-Reviewer: Tal Nisan <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
