VirtualBox

Changeset 106630 in vbox


Ignore:
Timestamp:
Oct 23, 2024 5:32:45 PM (5 weeks ago)
Author:
vboxsync
Message:

VMM/CPUMR3Db: bugref:10794 Fix Windows 11 24H2 guest BSOD caused by an incorrect assumption made by the guest regarding the presence of IA32_MCU_OPT_CTRL MSR.

File:
1 edited

Legend:

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

    r106061 r106630  
    745745     * MSR_IA32_ARCH_CAPABILITIES[bit 7], see @bugref{9630}.
    746746     * Ignore writes to this MSR and return 0 on reads.
     747     *
     748     * Windows 11 24H2 incorrectly reads MSR_IA32_MCU_OPT_CTRL without
     749     * checking CPUID.ARCH_CAP(EAX=7h,ECX=0).EDX[bit 9] or the MSR feature
     750     * bits in MSR_IA32_ARCH_CAPABILITIES[bit 18], see @bugref{10794}.
     751     * Ignore wrties to this MSR and return 0 on reads.
    747752     */
    748753    if (pVM->cpum.s.GuestFeatures.fArchCap)
     
    751756        {
    752757            MVI(MSR_IA32_TSX_CTRL, "IA32_TSX_CTRL", 0),
     758            MVI(MSR_IA32_MCU_OPT_CTRL, "IA32_MCU_OPT_CTRL", 0),
    753759        };
    754760        rc = cpumR3MsrApplyFudgeTable(pVM, &s_aTsxCtrl[0], RT_ELEMENTS(s_aTsxCtrl));
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