VirtualBox

Changeset 12733 in vbox


Ignore:
Timestamp:
Sep 25, 2008 1:57:49 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37056
Message:

Updates

File:
1 edited

Legend:

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

    r12732 r12733  
    12841284        fSyncTPR = true;
    12851285    }
    1286         HWACCMDumpRegs(pVM, pCtx);
    12871286
    12881287    /*
     
    18301829            case X86_XCPT_GP:   /* General protection failure exception.*/
    18311830            {
     1831                uint32_t cbSize;
     1832
    18321833                STAM_COUNTER_INC(&pVM->hwaccm.s.StatExitGuestGP);
    18331834#ifdef VBOX_STRICT
    1834                 Log(("Trap %x at %VGv error code %x\n", vector, pCtx->rip, errCode));
    1835                 rc = VMXR0InjectEvent(pVM, pCtx, VMX_VMCS_CTRL_ENTRY_IRQ_INFO_FROM_EXIT_INT_INFO(intInfo), cbInstr, errCode);
    1836                 AssertRC(rc);
    1837                 STAM_PROFILE_ADV_STOP(&pVM->hwaccm.s.StatExit, x);
    1838                 goto ResumeExecution;
    1839 #else
     1835                if (!CPUMIsGuestInRealModeEx(pCtx))
     1836                {
     1837                    Log(("Trap %x at %VGv error code %x\n", vector, pCtx->rip, errCode));
     1838                    rc = VMXR0InjectEvent(pVM, pCtx, VMX_VMCS_CTRL_ENTRY_IRQ_INFO_FROM_EXIT_INT_INFO(intInfo), cbInstr, errCode);
     1839                    AssertRC(rc);
     1840                    STAM_PROFILE_ADV_STOP(&pVM->hwaccm.s.StatExit, x);
     1841                    goto ResumeExecution;
     1842                }
     1843#endif
    18401844                Assert(CPUMIsGuestInRealModeEx(pCtx));
    18411845
     
    18521856                AssertMsg(rc == VERR_EM_INTERPRETER);
    18531857                break;
    1854 #endif
    18551858            }
    18561859
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