VirtualBox

Changeset 49954 in vbox for trunk/src


Ignore:
Timestamp:
Dec 17, 2013 2:39:08 PM (11 years ago)
Author:
vboxsync
Message:

CPUM.cpp: Off by one bug in new CPUID count limiting code.

File:
1 edited

Legend:

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

    r49927 r49954  
    15791579            pCurLeaf->uEax = 5;
    15801580            cpumR3CpuIdRemoveRange(pCPUM->GuestInfo.paCpuIdLeavesR3, &pCPUM->GuestInfo.cCpuIdLeaves,
    1581                                    UINT32_C(0x00000006), UINT32_C(0x000fffff));
     1581                                   pCurLeaf->uEax + 1, UINT32_C(0x000fffff));
    15821582        }
    15831583
     
    15941594            pCurLeaf->uEax = UINT32_C(0x80000008);
    15951595            cpumR3CpuIdRemoveRange(pCPUM->GuestInfo.paCpuIdLeavesR3, &pCPUM->GuestInfo.cCpuIdLeaves,
    1596                                    UINT32_C(0x80000008), UINT32_C(0x800fffff));
     1596                                   pCurLeaf->uEax + 1, UINT32_C(0x800fffff));
    15971597        }
    15981598    }
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