VirtualBox

Changeset 94844 in vbox


Ignore:
Timestamp:
May 5, 2022 10:49:39 AM (3 years ago)
Author:
vboxsync
Message:

VMM/IEM,HM: Added a VBOX_WITH_IEM_TLB makefile config variable for quickly enabling/disabling the TLB; fixed associated compilation issue in the VMX code. bugref:9898

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/Config.kmk

    r94792 r94844  
    3636 VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_SVM
    3737endif
    38 ifdef VBOX_WITH_NESTED_HWVIRT_VMX
    39  VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_VMX
    40 endif
    41 ifdef VBOX_WITH_NESTED_HWVIRT_VMX_EPT
    42  VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_VMX_EPT
    43 endif
    44 ifdef VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
    45  VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
     38ifdef VBOX_WITH_IEM_TLB ## @todo VMX code doesn't compile with TLBs enabled.
     39  VMM_COMMON_DEFS += IEM_WITH_CODE_TLB IEM_WITH_DATA_TLB
     40else
     41 ifdef VBOX_WITH_NESTED_HWVIRT_VMX
     42  VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_VMX
     43 endif
     44 ifdef VBOX_WITH_NESTED_HWVIRT_VMX_EPT
     45  VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_VMX_EPT
     46 endif
     47 ifdef VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
     48  VMM_COMMON_DEFS += VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
     49 endif
    4650endif
    4751# part of global DEFS
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r94011 r94844  
    49174917        if (fWhat & HMVMX_READ_GUEST_PENDING_DBG_XCPTS)
    49184918        {
     4919            fWhat &= ~HMVMX_READ_GUEST_PENDING_DBG_XCPTS;
     4920#ifdef VBOX_WITH_NESTED_HWVIRT_VMX
    49194921            vmxHCReadGuestPendingDbgXctps(pVCpu, pVmxTransient);
    4920             fWhat &= ~HMVMX_READ_GUEST_PENDING_DBG_XCPTS;
    49214922            pVmxExitAux->u64GuestPendingDbgXcpts = pVmxTransient->uGuestPendingDbgXcpts;
     4923#else
     4924            pVmxExitAux->u64GuestPendingDbgXcpts = 0;
     4925#endif
    49224926        }
    49234927
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