Changeset 26991 in vbox for trunk/src/VBox
- Timestamp:
- Mar 3, 2010 2:19:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r26990 r26991 564 564 pCPUM->aGuestCpuIdStd[1].ebx &= 0x0000ffff; 565 565 #ifdef VBOX_WITH_MULTI_CORE 566 if (pCPUM->enmGuestCpuVendor != CPUMCPUVENDOR_SYNTHETIC )566 if (pCPUM->enmGuestCpuVendor != CPUMCPUVENDOR_SYNTHETIC && pVM->cCpus > 1) 567 567 { 568 568 /* If CPUID Fn0000_0001_EDX[HTT] = 1 then LogicalProcessorCount is the number of threads per CPU core times the number of CPU cores per processor */ 569 569 pCPUM->aGuestCpuIdStd[1].ebx |= (pVM->cCpus << 16); 570 if (pVM->cCpus > 1) 571 pCPUM->aGuestCpuIdStd[1].edx |= X86_CPUID_FEATURE_EDX_HTT; /* necessary for hyper-threading *or* multi-core CPUs */ 570 pCPUM->aGuestCpuIdStd[1].edx |= X86_CPUID_FEATURE_EDX_HTT; /* necessary for hyper-threading *or* multi-core CPUs */ 572 571 } 573 572 #endif
Note:
See TracChangeset
for help on using the changeset viewer.