VirtualBox

Changeset 19539 in vbox for trunk


Ignore:
Timestamp:
May 8, 2009 6:27:38 PM (16 years ago)
Author:
vboxsync
Message:

VMMR3YieldSuspend: only cpu 0 for now.

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

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

    r19461 r19539  
    993993     * only at certain times and need to be notified..
    994994     */
    995     VMMR3YieldSuspend(pVM);
     995    if (pVCpu->idCpu == 0)
     996        VMMR3YieldSuspend(pVM);
    996997    TMNotifyStartOfHalt(pVCpu);
    997998
     
    10321033     */
    10331034    TMNotifyEndOfHalt(pVCpu);
    1034     VMMR3YieldResume(pVM);
     1035    if (pVCpu->idCpu == 0)
     1036        VMMR3YieldResume(pVM);
    10351037
    10361038    LogFlow(("VMR3WaitHalted: returns %Rrc (FF %#x)\n", rc, pVM->fGlobalForcedActions));
  • trunk/src/VBox/VMM/VMM.cpp

    r19529 r19539  
    959959VMMR3DECL(void) VMMR3YieldSuspend(PVM pVM)
    960960{
     961    VMCPU_ASSERT_EMT(&pVM->aCpus[0]);
    961962    if (!pVM->vmm.s.cYieldResumeMillies)
    962963    {
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