VirtualBox

Ignore:
Timestamp:
Nov 16, 2018 8:34:08 AM (6 years ago)
Author:
vboxsync
Message:

VMM: Nested VMX: bugref:9180 Explicitly ignore attempts at microcode updates via the IA32_BIOS_UPDT_TRIG MSR while in VMX non-root mode.

File:
1 edited

Legend:

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

    r75493 r75509  
    296296static DECLCALLBACK(VBOXSTRICTRC) cpumMsrWr_Ia32BiosUpdateTrigger(PVMCPU pVCpu, uint32_t idMsr, PCCPUMMSRRANGE pRange, uint64_t uValue, uint64_t uRawValue)
    297297{
    298     RT_NOREF_PV(pVCpu); RT_NOREF_PV(idMsr); RT_NOREF_PV(pRange); RT_NOREF_PV(uValue); RT_NOREF_PV(uRawValue);
     298    RT_NOREF_PV(idMsr); RT_NOREF_PV(pRange); RT_NOREF_PV(uValue); RT_NOREF_PV(uRawValue);
     299
     300    /* Microcode updates cannot be loaded in VMX non-root mode. */
     301    if (CPUMIsGuestInVmxNonRootMode(&pVCpu->cpum.s.Guest))
     302        return VINF_SUCCESS;
     303
    299304    /** @todo Fake bios update trigger better.  The value is the address to an
    300305     *        update package, I think.  We should probably GP if it's invalid. */
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