VirtualBox

Changeset 36863 in vbox


Ignore:
Timestamp:
Apr 27, 2011 6:34:01 PM (14 years ago)
Author:
vboxsync
Message:

CPUM: Don't assert if the supported standard CPUID level is smaller than 4 because eax might contain garbage in that case (happened on very old Intel Xeons)

File:
1 edited

Legend:

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

    r36858 r36863  
    10001000    if (!fHWVirtExEnabled)
    10011001    {
    1002         Assert(pVM->cpum.s.aGuestCpuIdStd[4].eax == 0);
     1002        Assert(   pVM->cpum.s.aGuestCpuIdStd[4].eax == 0
     1003               || pVM->cpum.s.aGuestCpuIdStd[0].eax < 0x4);
    10031004        pVM->cpum.s.aGuestCpuIdStd[4].eax = 0;
    10041005    }
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