cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilya musayev <ilya.mailing.li...@gmail.com>
Subject [ACS4.3] Cherry pick commit 008b029a29460d883ac7d645877e6f4f2945b1e1 - CLOUDSTACK-5891
Date Tue, 27 May 2014 19:46:06 GMT
Not certain who RM is for minor 4.3.0.x release, please cherry pick this 
commit from 4.4 branch.

If no-one responds, and i hear no objections, i will do this later tonight.

Summary:
CloudStack 4.3.0 does not honor cpu.corespersocket=x template setting 
for vmware
CLOUDSTACK-5891.[VMware] If a template has been registered and 
"cpu.corespersocket...

Commit:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=008b029a29460d883ac7d645877e6f4f2945b1e1



The commit is a bug fix with 3 lines of code:

+             // Check for multi-cores per socket settings
+            String coresPerSocket = 
vmSpec.getDetails().get("cpu.corespersocket");
+            if (coresPerSocket != null) {
+ vmConfigSpec.setNumCoresPerSocket(NumbersUtil.parseInt(coresPerSocket, 
1));
+            }
+

Mime
View raw message