Changeset 107570 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jan 9, 2025 9:23:18 AM (4 months ago)
- svn:sync-xref-src-repo-rev:
- 166643
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
r106574 r107570 3396 3396 #endif 3397 3397 3398 /** @cfgm{/CPUM/GuestMicrocodeRev,32-bit} 3399 * CPU microcode revision number to use. If UINT32_MAX we use the host 3400 * revision of the host CPU for the host-cpu profile and the database entry if a 3401 * specific one is selected (amd64 host only). */ 3402 rc = CFGMR3QueryU32Def(pCpumCfg, "GuestMicrocodeRevision", &pCpum->GuestInfo.uMicrocodeRevision, UINT32_MAX); 3403 AssertLogRelRCReturn(rc, rc); 3404 #if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) 3405 if ( pCpum->GuestInfo.uMicrocodeRevision == UINT32_MAX 3406 && strcmp(Config.szCpuName, "host") == 0) 3407 { 3408 rc = SUPR3QueryMicrocodeRev(&pCpum->GuestInfo.uMicrocodeRevision); 3409 if (RT_FAILURE(rc)) 3410 pCpum->GuestInfo.uMicrocodeRevision = UINT32_MAX; 3411 } 3412 #endif 3413 3398 3414 /** @cfgm{/CPUM/MSRs/[Name]/[First|Last|Type|Value|...],} 3399 3415 * Overrides the guest MSRs.
Note:
See TracChangeset
for help on using the changeset viewer.