VirtualBox

Changeset 19407 in vbox


Ignore:
Timestamp:
May 5, 2009 11:38:19 PM (16 years ago)
Author:
vboxsync
Message:

VMEmt.cpp: Implemented VMNOTIFYFF_FLAGS_POKE. (not working though as we're not yet working the VMCPU::enmState I think, fixing that and the other missing bits tomorrow.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMEmt.cpp

    r19401 r19407  
    847847        AssertRC(rc);
    848848    }
    849     else if (!(fFlags & VMNOTIFYFF_FLAGS_DONE_REM))
     849    else if (   (fFlags & VMNOTIFYFF_FLAGS_POKE)
     850             && pUVCpu->pUVM->pVM
     851             && pUVCpu->pUVM->pVM->aCpus[pUVCpu->idCpu].enmState == VMCPUSTATE_RUN_EXEC) /** @todo make this easier to access. (pUVCpu->pVCpu) */
     852    {
     853        int rc = SUPCallVMMR0Ex(pUVCpu->pVM->pVMR0, pUVCpu->idCpu, VMMR0_DO_GVMM_SCHED_POKE, 0, NULL);
     854        AssertRC(rc);
     855    }
     856    else if (!(fFlags & VMNOTIFYFF_FLAGS_DONE_REM)) /** @todo use VMCPUSTATE_RUN_EXEC_REM */
    850857        REMR3NotifyFF(pUVCpu->pVM);
    851858}
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