VirtualBox

Changeset 54384 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Feb 23, 2015 3:03:09 PM (10 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Fix debug assertion on 32-bit hosts. Host-state is already saved in HMR0Enter() while entering from ring-3/longjmp.

File:
1 edited

Legend:

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

    r54308 r54384  
    48504850            {
    48514851                /* Currently, all mode changes sends us back to ring-3, so these should be set. See @bugref{6944}. */
    4852                 AssertMsg(HMCPU_CF_IS_SET(pVCpu,   HM_CHANGED_HOST_CONTEXT
    4853                                                  | HM_CHANGED_VMX_EXIT_CTLS
     4852                AssertMsg(HMCPU_CF_IS_SET(pVCpu,   HM_CHANGED_VMX_EXIT_CTLS
    48544853                                                 | HM_CHANGED_VMX_ENTRY_CTLS
    48554854                                                 | HM_CHANGED_GUEST_EFER_MSR), ("flags=%#x\n", HMCPU_CF_VALUE(pVCpu)));
     
    48714870            {
    48724871                /* Currently, all mode changes sends us back to ring-3, so these should be set. See @bugref{6944}. */
    4873                 AssertMsg(HMCPU_CF_IS_SET(pVCpu,   HM_CHANGED_HOST_CONTEXT
    4874                                                  | HM_CHANGED_VMX_EXIT_CTLS
     4872                AssertMsg(HMCPU_CF_IS_SET(pVCpu,   HM_CHANGED_VMX_EXIT_CTLS
    48754873                                                 | HM_CHANGED_VMX_ENTRY_CTLS
    48764874                                                 | HM_CHANGED_GUEST_EFER_MSR), ("flags=%#x\n", HMCPU_CF_VALUE(pVCpu)));
     
    85958593     * thread-context hooks are used or when hmR0VmxSetupVMRunHandler() changes pfnStartVM).
    85968594     */
     8595    /** @todo Why should hmR0VmxSetupVMRunHandler() changing pfnStartVM have
     8596     *        any effect to the host state needing to be saved? */
    85978597    if (HMCPU_CF_IS_PENDING(pVCpu, HM_CHANGED_HOST_CONTEXT))
    85988598    {
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