VirtualBox

Changeset 76640 in vbox for trunk


Ignore:
Timestamp:
Jan 4, 2019 6:56:44 PM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 Fix 16-bit guest VMCS fields as always valid (don't require CPU feature support). Plus spaces nit.

File:
1 edited

Legend:

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

    r76639 r76640  
    503503        case VMX_VMCS16_GUEST_GS_SEL:
    504504        case VMX_VMCS16_GUEST_LDTR_SEL:
    505         case VMX_VMCS16_GUEST_TR_SEL:
     505        case VMX_VMCS16_GUEST_TR_SEL:                     return true;
    506506        case VMX_VMCS16_GUEST_INTR_STATUS:                return pFeat->fVmxVirtIntDelivery;
    507507        case VMX_VMCS16_GUEST_PML_INDEX:                  return pFeat->fVmxPml;
     
    81088108    /* Finally, cache the new VMCS from guest memory and mark it as the current VMCS. */
    81098109    rc = PGMPhysSimpleReadGCPhys(pVCpu->CTX_SUFF(pVM), (void *)pVCpu->cpum.GstCtx.hwvirt.vmx.CTX_SUFF(pVmcs), GCPhysVmcs,
    8110                                      sizeof(VMXVVMCS));
     8110                                 sizeof(VMXVVMCS));
    81118111    if (RT_FAILURE(rc))
    81128112    {
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