VirtualBox

Changeset 51233 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
May 12, 2014 11:12:14 AM (11 years ago)
Author:
vboxsync
Message:

CPUMAllMsrs.cpp: Quickfix for IA32_APIC_BASE read #GP.

File:
1 edited

Legend:

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

    r50617 r51233  
    200200{
    201201    PVM pVM = pVCpu->CTX_SUFF(pVM);
     202#if 0 /** @todo Sort this one out properly.  Evidence from ticks 12240 and 12875 suggest the apic base is still readable even
     203       * after the apic has been diabled.  That makes common sense too.  What we need to do here, though, is check whether
     204       * there is an APIC device associated with the VM, and GP if there isn't.  But that's for later. */
    202205    if (   !pVM->cpum.s.GuestFeatures.fApic
    203206        && !pVM->cpum.s.GuestFeatures.fX2Apic)
     
    206209        return VERR_CPUM_RAISE_GP_0;
    207210    }
     211#endif
    208212
    209213    *puValue = pVCpu->cpum.s.Guest.msrApicBase;
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