VirtualBox

Changeset 75152 in vbox for trunk


Ignore:
Timestamp:
Oct 29, 2018 2:32:55 PM (6 years ago)
Author:
vboxsync
Message:

VMM: Nested VMX: bugref:9180 Build fix.

File:
1 edited

Legend:

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

    r75151 r75152  
    113113#include <VBox/vmm/mm.h>
    114114#include <VBox/vmm/nem.h>
    115 #include <VBox/vmm/iem.h>
     115#ifdef VBOX_WITH_NESTED_HWVIRT_VMX
     116# include <VBox/vmm/iem.h>
     117#endif
    116118#include <VBox/vmm/iom.h>
    117119#include <VBox/vmm/trpm.h>
     
    15801582
    15811583    PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(pVCpu);
     1584#ifdef VBOX_WITH_NESTED_HWVIRT_VMX
    15821585    if (CPUMIsGuestInVmxRootMode(pCtx))
    15831586    {
     
    15891592        return VINF_SUCCESS;
    15901593    }
     1594#endif
    15911595
    15921596    pCtx->cs.Sel        = uVector << 8;
     
    16281632
    16291633    /* If the CPU is in VMX non-root mode, INIT signals cause VM-exits. */
     1634#ifdef VBOX_WITH_NESTED_HWVIRT_VMX
    16301635    PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(pVCpu);
    16311636    if (CPUMIsGuestInVmxNonRootMode(pCtx))
    16321637        return IEMExecVmxVmexitInitIpi(pVCpu);
     1638#endif
    16331639
    16341640    /** @todo Figure out how to handle a nested-guest intercepts here for INIT
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