Changeset 106628 in vbox
- Timestamp:
- Oct 23, 2024 5:28:44 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp
r106609 r106628 376 376 { 377 377 /* Host: */ 378 uint64_t fArchVal = ASMRdMsr(MSR_IA32_ARCH_CAPABILITIES); 378 uint64_t const fHostArchVal = ASMRdMsr(MSR_IA32_ARCH_CAPABILITIES); 379 uint64_t fArchVal = fHostArchVal; 379 380 pVM->cpum.s.HostFeatures.fArchRdclNo = RT_BOOL(fArchVal & MSR_IA32_ARCH_CAP_F_RDCL_NO); 380 381 pVM->cpum.s.HostFeatures.fArchIbrsAll = RT_BOOL(fArchVal & MSR_IA32_ARCH_CAP_F_IBRS_ALL); … … 394 395 pVM->cpum.s.GuestFeatures.fArchVmmNeedNotFlushL1d = RT_BOOL(fArchVal & MSR_IA32_ARCH_CAP_F_VMM_NEED_NOT_FLUSH_L1D); 395 396 pVM->cpum.s.GuestFeatures.fArchMdsNo = RT_BOOL(fArchVal & MSR_IA32_ARCH_CAP_F_MDS_NO); 396 LogRel(("CPUM: Host IA32_ARCH_CAPABILITIES %#RX64\n", fArchVal));397 LogRel(("CPUM: IA32_ARCH_CAPABILITIES (Host=%#RX64 Guest=%#RX64)\n", fHostArchVal, fArchVal)); 397 398 } 398 399 else 399 400 { 400 401 pVM->cpum.s.HostFeatures.fArchCap = 0; 401 LogRel(("CPUM: HostIA32_ARCH_CAPABILITIES unsupported\n"));402 LogRel(("CPUM: IA32_ARCH_CAPABILITIES unsupported\n")); 402 403 } 403 404 }
Note:
See TracChangeset
for help on using the changeset viewer.