VirtualBox

Changeset 26654 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Feb 19, 2010 2:12:59 PM (15 years ago)
Author:
vboxsync
Message:

Added a note about the (now obsolete) raw mode fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/CPUM.cpp

    r26653 r26654  
    834834     * If we miss to patch a cpuid(0).eax then Linux tries to determine the number
    835835     * of processors from (cpuid(4).eax >> 26) + 1.
     836     *
     837     * Note: this code is obsolete, but let's keep it here for reference.
     838     *       Purpose is valid when we artifically cap the max std id to less than 4.
    836839     */
    837840    if (!fHWVirtExEnabled)
     841    {
     842        Assert(pVM->cpum.s.aGuestCpuIdStd[4].eax == 0);
    838843        pVM->cpum.s.aGuestCpuIdStd[4].eax = 0;
     844    }
    839845}
    840846
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette