VirtualBox

Changeset 10464 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jul 10, 2008 10:17:02 AM (16 years ago)
Author:
vboxsync
Message:

More assertions

File:
1 edited

Legend:

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

    r10463 r10464  
    281281        /* CR8 reads from the APIC shadow page; writes cause an exit is they lower the TPR below the threshold */
    282282        val |= VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_TPR_SHADOW;
     283        Assert(pVM->hwaccm.s.vmx.pAPIC);
    283284    }
    284285    else
     
    463464    if (pVM->hwaccm.s.Event.fPending)
    464465    {
    465         Log(("Reinjecting event %VX64 %08x at %VGv\n", pVM->hwaccm.s.Event.intInfo, pVM->hwaccm.s.Event.errCode, pCtx->rip));
     466        Log(("Reinjecting event %VX64 %08x at %VGv cr2=%RX64\n", pVM->hwaccm.s.Event.intInfo, pVM->hwaccm.s.Event.errCode, pCtx->rip, pCtx->cr2));
    466467        STAM_COUNTER_INC(&pVM->hwaccm.s.StatIntReinject);
    467468        rc = VMXR0InjectEvent(pVM, pCtx, pVM->hwaccm.s.Event.intInfo, 0, pVM->hwaccm.s.Event.errCode);
     
    17941795            case 8:
    17951796                /* CR8 contains the APIC TPR */
     1797                Assert(!(pVM->hwaccm.s.vmx.msr.vmx_proc_ctls & VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_TPR_SHADOW));
    17961798                break;
    17971799
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