VirtualBox

Ignore:
Timestamp:
Sep 13, 2010 4:30:10 PM (14 years ago)
Author:
vboxsync
Message:

VMM: Return to ring-3 when DMA work is pending.

File:
1 edited

Legend:

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

    r32419 r32458  
    24352435
    24362436    /* Check for pending actions that force us to go back to ring 3. */
    2437     if (    VM_FF_ISPENDING(pVM, VM_FF_HWACCM_TO_R3_MASK | VM_FF_REQUEST | VM_FF_PGM_POOL_FLUSH_PENDING)
     2437    if (    VM_FF_ISPENDING(pVM, VM_FF_HWACCM_TO_R3_MASK | VM_FF_REQUEST | VM_FF_PGM_POOL_FLUSH_PENDING | VM_FF_PDM_DMA)
    24382438        ||  VMCPU_FF_ISPENDING(pVCpu, VMCPU_FF_HWACCM_TO_R3_MASK | VMCPU_FF_PGM_SYNC_CR3 | VMCPU_FF_PGM_SYNC_CR3_NON_GLOBAL | VMCPU_FF_REQUEST))
    24392439    {
     
    24772477        {
    24782478            rc = VINF_PGM_POOL_FLUSH_PENDING;
     2479            goto end;
     2480        }
     2481
     2482        /* Check if DMA work is pending (2nd+ run). */
     2483        if (VM_FF_ISPENDING(pVM, VM_FF_PDM_DMA) && cResume > 1)
     2484        {
     2485            rc = VINF_EM_RAW_TO_R3;
    24792486            goto end;
    24802487        }
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