VirtualBox

Changeset 61088 in vbox for trunk/src


Ignore:
Timestamp:
May 20, 2016 9:56:25 AM (9 years ago)
Author:
vboxsync
Message:

VMM/APIC: Disallow transition to x2APIC mode when the VM isn't configured with x2APIC CPUID bit set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/APICAll.cpp

    r61078 r61088  
    20062006    if (pApic->enmOriginalMode == APICMODE_DISABLED)
    20072007    {
    2008         LogRel(("APIC%u: Disallowing APIC base MSR write as the VM config is configured with APIC disabled!\n"));
     2008        LogRel(("APIC%u: Disallowing APIC base MSR write as the VM is configured with APIC disabled!\n"));
    20092009        return apicMsrAccessError(pVCpu, MSR_IA32_APICBASE, APICMSRACCESS_WRITE_DISALLOWED_CONFIG);
    20102010    }
     
    20552055            case APICMODE_X2APIC:
    20562056            {
     2057                if (pApic->enmOriginalMode != APICMODE_X2APIC)
     2058                {
     2059                    LogRel(("APIC%u: Disallowing transition to x2APIC mode as the VM is configured with the x2APIC disabled!\n",
     2060                            pVCpu->idCpu));
     2061                    return apicMsrAccessError(pVCpu, MSR_IA32_APICBASE, APICMSRACCESS_WRITE_INVALID);
     2062                }
     2063
    20572064                if (enmOldMode != APICMODE_XAPIC)
    20582065                {
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