- Timestamp:
- Feb 19, 2010 1:48:01 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r26646 r26651 817 817 pVCpu->cpum.s.pHyperCoreRC = MMHyperCCToRC(pVM, pVCpu->cpum.s.pHyperCoreR3); 818 818 Assert(pVCpu->cpum.s.pHyperCoreRC != NIL_RTRCPTR); 819 820 /* 821 * Workaround for missing cpuid(0) patches when leaf 4 returns GuestCpuIdDef: 822 * If we miss to patch a cpuid(0).eax then Linux tries to determine the number 823 * of processors from (cpuid(4).eax >> 26) + 1. 824 */ 825 if (!HWACCMR3IsAllowed(pVM)) 826 pCPUM->aGuestCpuIdStd[4].eax = 0; 819 827 } 820 828 }
Note:
See TracChangeset
for help on using the changeset viewer.