Omer Frenkel has posted comments on this change. Change subject: core: maxVCpus revised ......................................................................
Patch Set 1: (2 comments) http://gerrit.ovirt.org/#/c/31439/1//COMMIT_MSG Commit Message: Line 23: Line 24: and 160 couldn't be fulfilled by cores * socket, 156 Line 25: Line 26: Change-Id: I2880c0a1523bf5c4a6b5144860efafb6df82deb4 Line 27: Bug-Url: https://bugzilla.redhat.com/?????? i guess you can use the original bz 1070890 http://gerrit.ovirt.org/#/c/31439/1/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VmInfoBuilderBase.java File backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VmInfoBuilderBase.java: Line 169: vm.getVdsGroupCompatibilityVersion().getValue()); Line 170: Integer maxVCpus = Config.<Integer>getValue( Line 171: ConfigValues.MaxNumOfVmCpus, Line 172: vm.getVdsGroupCompatibilityVersion().getValue()); Line 173: maxVCpus = vm.getCpuPerSocket() * (Math.min(maxSockets, maxVCpus / vm.getCpuPerSocket())); i assume we have validation for vm.getCpuPerSocket() > 0 ? Line 174: return maxVCpus; Line 175: } Line 176: Line 177: private void addCpuPinning(final String compatibilityVersion) { -- To view, visit http://gerrit.ovirt.org/31439 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I2880c0a1523bf5c4a6b5144860efafb6df82deb4 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Roy Golan <[email protected]> Gerrit-Reviewer: Michal Skrivanek <[email protected]> Gerrit-Reviewer: Omer Frenkel <[email protected]> Gerrit-Reviewer: Roy Golan <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
