cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [14/25] git commit: updated refs/heads/ui-restyle to 3fdb61f
Date Tue, 15 Oct 2013 20:20:09 GMT
CLOUDSTACK-4863: Count CPU hyper-threading as logical CPU core for allocation


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7d89cecf
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7d89cecf
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7d89cecf

Branch: refs/heads/ui-restyle
Commit: 7d89cecfffeb6e08cca497336d6a797bc375c777
Parents: 6895251
Author: Kelven Yang <kelveny@gmail.com>
Authored: Mon Oct 14 17:32:50 2013 -0700
Committer: Kelven Yang <kelveny@gmail.com>
Committed: Mon Oct 14 17:33:05 2013 -0700

----------------------------------------------------------------------
 vmware-base/src/com/cloud/hypervisor/vmware/mo/HostMO.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7d89cecf/vmware-base/src/com/cloud/hypervisor/vmware/mo/HostMO.java
----------------------------------------------------------------------
diff --git a/vmware-base/src/com/cloud/hypervisor/vmware/mo/HostMO.java b/vmware-base/src/com/cloud/hypervisor/vmware/mo/HostMO.java
index 07b8be4..108a3ec 100755
--- a/vmware-base/src/com/cloud/hypervisor/vmware/mo/HostMO.java
+++ b/vmware-base/src/com/cloud/hypervisor/vmware/mo/HostMO.java
@@ -910,7 +910,7 @@ public class HostMO extends BaseMO implements VmwareHypervisorHost {
 
         HostHardwareSummary hardwareSummary = getHostHardwareSummary();
 		// TODO: not sure how hyper-thread is counted in VMware resource pool
-        summary.setCpuCount(hardwareSummary.getNumCpuCores());
+        summary.setCpuCount(hardwareSummary.getNumCpuThreads());
 		summary.setMemoryBytes(hardwareSummary.getMemorySize());
 		summary.setCpuSpeed(hardwareSummary.getCpuMhz());
 


Mime
View raw message