VirtualBox

Changeset 14307 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 18, 2008 3:11:08 PM (16 years ago)
Author:
vboxsync
Message:

Log EPT misconfiguration errors

File:
1 edited

Legend:

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

    r14306 r14307  
    24222422    }
    24232423
     2424    case VMX_EXIT_EPT_MISCONFIG:
     2425    {
     2426        RTGCPHYS GCPhys;
     2427
     2428        Assert(pVM->hwaccm.s.fNestedPaging);
     2429
     2430#if HC_ARCH_BITS == 64
     2431        rc = VMXReadVMCS(VMX_VMCS_EXIT_PHYS_ADDR_FULL, &GCPhys);
     2432        AssertRC(rc);
     2433#else
     2434        uint32_t val_hi;
     2435        rc = VMXReadVMCS(VMX_VMCS_EXIT_PHYS_ADDR_FULL, &val);
     2436        AssertRC(rc);
     2437        rc = VMXReadVMCS(VMX_VMCS_EXIT_PHYS_ADDR_HIGH, &val_hi);
     2438        AssertRC(rc);
     2439        GCPhys = RT_MAKE_U64(val, val_hi);
     2440#endif
     2441
     2442        Log(("VMX_EXIT_EPT_MISCONFIG for %VGp\n", GCPhys));
     2443        break;
     2444    }
     2445
    24242446    case VMX_EXIT_IRQ_WINDOW:           /* 7 Interrupt window. */
    24252447        /* Clear VM-exit on IF=1 change. */
     
    24652487        if (rc == VINF_SUCCESS)
    24662488        {
     2489Log(("Rdtsc: %x:%x\n", pCtx->edx, pCtx->eax));
    24672490            /* Update EIP and continue execution. */
    24682491            Assert(cbInstr == 2);
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