VirtualBox

Changeset 65106 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jan 4, 2017 12:25:28 PM (8 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Don't need to initialize #UD intercepts when it's being loaded via hmR0VmxLoadGuestXcptIntercepts().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r64882 r65106  
    26392639 * Sets up the initial exception bitmap in the VMCS based on static conditions.
    26402640 *
     2641 * We shall setup those exception intercepts that don't change during the
     2642 * lifetime of the VM here. The rest are done dynamically while loading the
     2643 * guest state.
     2644 *
    26412645 * @returns VBox status code.
    26422646 * @param   pVM         The cross context VM structure.
     
    26502654    LogFlowFunc(("pVM=%p pVCpu=%p\n", pVM, pVCpu));
    26512655
    2652     /** @todo r=ramshankar: Shouldn't setting up \#UD intercepts be handled by
    2653      *        hmR0VmxLoadGuestXcptIntercepts()? Why do we check it here? */
    2654     uint32_t u32XcptBitmap = pVCpu->hm.s.fGIMTrapXcptUD ? RT_BIT(X86_XCPT_UD) : 0;
     2656    uint32_t u32XcptBitmap = 0;
    26552657
    26562658    /* Must always intercept #AC to prevent the guest from hanging the CPU. */
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