VirtualBox

Changeset 68938 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Sep 29, 2017 4:13:26 PM (7 years ago)
Author:
vboxsync
Message:

Main,VBoxManage: Changed the CPUID override methods on IMachine to take sub-leaves into account. Currently we do not support non-zero sub-leaves due to VMM, but that can be fixed later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/MachineImpl.h

    r68485 r68938  
    298298        BOOL                mCPUAttached[SchemaDefs::MaxCPUCount];
    299299
    300         settings::CpuIdLeaf mCpuIdStdLeafs[11];
    301         settings::CpuIdLeaf mCpuIdExtLeafs[11];
     300        std::list<settings::CpuIdLeaf> mCpuIdLeafList;
    302301
    303302        DeviceType_T        mBootOrder[SchemaDefs::MaxBootPosition];
     
    10901089    HRESULT setCPUProperty(CPUPropertyType_T aProperty,
    10911090                           BOOL aValue);
    1092     HRESULT getCPUIDLeaf(ULONG aId,
     1091    HRESULT getCPUIDLeafByOrdinal(ULONG aOrdinal,
     1092                                  ULONG *aIdx,
     1093                                  ULONG *aSubIdx,
     1094                                  ULONG *aValEax,
     1095                                  ULONG *aValEbx,
     1096                                  ULONG *aValEcx,
     1097                                  ULONG *aValEdx);
     1098    HRESULT getCPUIDLeaf(ULONG aIdx, ULONG aSubIdx,
    10931099                         ULONG *aValEax,
    10941100                         ULONG *aValEbx,
    10951101                         ULONG *aValEcx,
    10961102                         ULONG *aValEdx);
    1097     HRESULT setCPUIDLeaf(ULONG aId,
     1103    HRESULT setCPUIDLeaf(ULONG aIdx, ULONG aSubIdx,
    10981104                         ULONG aValEax,
    10991105                         ULONG aValEbx,
    11001106                         ULONG aValEcx,
    11011107                         ULONG aValEdx);
    1102     HRESULT removeCPUIDLeaf(ULONG aId);
     1108    HRESULT removeCPUIDLeaf(ULONG aIdx, ULONG aSubIdx);
    11031109    HRESULT removeAllCPUIDLeaves();
    11041110    HRESULT getHWVirtExProperty(HWVirtExPropertyType_T aProperty,
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