VirtualBox

Changeset 1291 in vbox


Ignore:
Timestamp:
Mar 7, 2007 9:11:47 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19244
Message:

Removed forced exit hack. No longer required.

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

Legend:

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

    r1273 r1291  
    194194    STAM_REG(pVM, &pVM->hwaccm.s.StatExitIrqWindow, STAMTYPE_COUNTER, "/HWACCM/Exit/GuestIrq/Pending",  STAMUNIT_OCCURENCES,    "Nr of occurances");
    195195
    196     STAM_REG(pVM, &pVM->hwaccm.s.StatExitForced,    STAMTYPE_COUNTER, "/HWACCM/Exit/SVM/Forced",        STAMUNIT_OCCURENCES,    "Nr of forced exits");
    197 
    198196    STAM_REG(pVM, &pVM->hwaccm.s.StatSwitchGuestIrq,STAMTYPE_COUNTER, "/HWACCM/Switch/IrqPending",      STAMUNIT_OCCURENCES,    "Nr of occurances");
    199197    STAM_REG(pVM, &pVM->hwaccm.s.StatSwitchToR3,    STAMTYPE_COUNTER, "/HWACCM/Switch/ToR3",            STAMUNIT_OCCURENCES,    "Nr of occurances");
  • trunk/src/VBox/VMM/HWACCMInternal.h

    r1273 r1291  
    279279    STAMCOUNTER             StatIntReinject;
    280280    STAMCOUNTER             StatPendingHostIrq;
    281     STAMCOUNTER             StatExitForced;
    282281
    283282    STAMCOUNTER             StatSwitchGuestIrq;
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r1273 r1291  
    515515    SVM_VMCB   *pVMCB;
    516516    bool        fForceTLBFlush = false;
    517     int         cResume = 0;
    518517
    519518    STAM_PROFILE_ADV_START(&pVM->hwaccm.s.StatEntry, x);
     
    525524     */
    526525ResumeExecution:
    527     cResume++;
    528526
    529527    /* Check for irq inhibition due to instruction fusing (sti, mov ss). */
     
    821819            pVM->hwaccm.s.Event.errCode  = 0;
    822820    }
    823     /** @note Safety precaution; frequent loops have been observed even though external interrupts were pending. */
    824     if (cResume > 32 /* low limit, but anything higher risks a hanging host due to interrupts left pending for too long */)
    825     {
    826         exitCode = SVM_EXIT_INTR;
    827         STAM_COUNTER_INC(&pVM->hwaccm.s.StatExitForced);
    828     }
    829 
    830821    STAM_COUNTER_INC(&pVM->hwaccm.s.pStatExitReason[exitCode & MASK_EXITREASON_STAT]);
    831822
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette