- Timestamp:
- Feb 19, 2010 12:29:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r26263 r26646 564 564 pCPUM->aGuestCpuIdStd[1].ebx &= 0x0000ffff; 565 565 #ifdef VBOX_WITH_MULTI_CORE 566 if ( pVM->cCpus > 1 567 && pCPUM->enmGuestCpuVendor != CPUMCPUVENDOR_SYNTHETIC) 566 if (pCPUM->enmGuestCpuVendor != CPUMCPUVENDOR_SYNTHETIC) 568 567 { 569 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 */ … … 735 734 i < RT_ELEMENTS(pCPUM->aGuestCpuIdExt); i++) 736 735 pCPUM->aGuestCpuIdExt[i] = pCPUM->GuestCpuIdDef; 737 738 /*739 * Workaround for missing cpuid(0) patches when leaf 4 returns GuestCpuIdDef:740 * If we miss to patch a cpuid(0).eax then Linux tries to determine the number741 * of processors from (cpuid(4).eax >> 26) + 1.742 */743 if (pVM->cCpus == 1)744 pCPUM->aGuestCpuIdStd[4].eax = 0;745 736 746 737 /*
Note:
See TracChangeset
for help on using the changeset viewer.