VirtualBox

Ignore:
Timestamp:
Apr 1, 2009 10:11:29 PM (16 years ago)
Author:
vboxsync
Message:

PGM,EM: Handle out of memory situations more gracefully - part 1. New debugger commands: .pgmerror and .pgmerroroff.

File:
1 edited

Legend:

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

    r17924 r18617  
    20752075
    20762076    /* Check for pending actions that force us to go back to ring 3. */
    2077     if (VM_FF_ISPENDING(pVM, VM_FF_TO_R3 | VM_FF_TIMER | VM_FF_PGM_NEED_HANDY_PAGES))
     2077    if (VM_FF_ISPENDING(pVM, VM_FF_HWACCM_TO_R3_MASK))
    20782078    {
    20792079        VM_FF_CLEAR(pVM, VM_FF_TO_R3);
    20802080        STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatSwitchToR3);
    2081         rc = VINF_EM_RAW_TO_R3;
     2081        rc = RT_UNLIKELY(VM_FF_ISPENDING(pVM, VM_FF_PGM_NO_MEMORY)) ? VINF_EM_NO_MEMORY : VINF_EM_RAW_TO_R3;
    20822082        goto end;
    20832083    }
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