VirtualBox

Changeset 80261 in vbox


Ignore:
Timestamp:
Aug 14, 2019 4:57:19 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132712
Message:

VMM/HMVMXR0: Nested VMX: bugref:9180 Assert, logging nits.

File:
1 edited

Legend:

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

    r80196 r80261  
    54125412            rc     = VMXWriteVmcsNw(VMX_VMCS_CTRL_CR0_READ_SHADOW, u64ShadowCr0);   AssertRC(rc);
    54135413
    5414             Log4Func(("cr0=%#RX64 shadow=%#RX64 set=%#RX64 zap=%#RX64\n", u64GuestCr0, u64ShadowCr0, fSetCr0, fZapCr0));
     5414            Log4Func(("cr0=%#RX64 shadow=%#RX64 (set=%#RX64 zap=%#RX64)\n", u64GuestCr0, u64ShadowCr0, fSetCr0, fZapCr0));
    54155415        }
    54165416
     
    56555655        ASMAtomicUoAndU64(&pVCpu->hm.s.fCtxChanged, ~HM_CHANGED_GUEST_CR4);
    56565656
    5657         Log4Func(("cr4=%#RX64 shadow=%#RX64 set=%#RX64 zap=%#RX64)\n", u64GuestCr4, u64ShadowCr4, fSetCr4, fZapCr4));
     5657        Log4Func(("cr4=%#RX64 shadow=%#RX64 (set=%#RX64 zap=%#RX64)\n", u64GuestCr4, u64ShadowCr4, fSetCr4, fZapCr4));
    56585658    }
    56595659    return rc;
     
    67506750         *        preemption timers here. We probably need to clamp the preemption timer,
    67516751         *        after converting the timer value to the host. */
    6752         uint32_t cPreemptionTickCount = (uint32_t)RT_MIN(cTicksToDeadline, UINT32_MAX - 16);
     6752        uint32_t const cPreemptionTickCount = (uint32_t)RT_MIN(cTicksToDeadline, UINT32_MAX - 16);
    67536753        int rc = VMXWriteVmcs32(VMX_VMCS32_PREEMPT_TIMER_VALUE, cPreemptionTickCount);
    67546754        AssertRC(rc);
     
    82008200    Assert(VMMR0IsLogFlushDisabled(pVCpu));
    82018201
    8202     Log4Func((" -> hmR0VmxLongJmpToRing3 enmOperation=%d\n", enmOperation));
     8202    Log4Func(("-> hmR0VmxLongJmpToRing3 enmOperation=%d\n", enmOperation));
    82038203
    82048204    int rc = hmR0VmxLongJmpToRing3(pVCpu);
     
    99929992     */
    99939993    Assert(u32ProcCtls & VMX_PROC_CTLS_UNCOND_IO_EXIT);
     9994    Assert(!(u32ProcCtls & VMX_PROC_CTLS_USE_IO_BITMAPS));
    99949995
    99959996    /*
     
    1612816129
    1612916130#ifdef DEBUG_ramshankar
    16130                 hmR0VmxImportGuestState(pVCpu, pVmxTransient->pVmcsInfo, CPUMCTX_EXTRN_CS | CPUMCTX_EXTRN_RIP);
    16131                 Log4Func(("cs:rip=%#04x:%#RX64\n", pCtx->cs.Sel, pCtx->rip));
     16131                hmR0VmxImportGuestState(pVCpu, pVmxTransient->pVmcsInfo, CPUMCTX_EXTRN_CS | CPUMCTX_EXTRN_RIP | CPUMCTX_EXTRN_CR3);
     16132                Log4Func(("cs:rip=%#04x:%#RX64 cr3=%#RX32\n", pCtx->cs.Sel, pCtx->rip, pCtx->cr3));
    1613216133                Log4Func(("exit_int_info=%#x err_code=%#x exit_qual=%#RX64\n", pVmxTransient->uExitIntInfo,
    1613316134                          pVmxTransient->uExitIntErrorCode, pVmxTransient->uExitQual));
    1613416135                if (VMX_IDT_VECTORING_INFO_IS_VALID(pVmxTransient->uIdtVectoringInfo))
    1613516136                {
    16136                     Log4Func(("idt_info=%#RX32 idt_errcode=%#RX32\n", pVmxTransient->uIdtVectoringInfo,
    16137                               pVmxTransient->uIdtVectoringErrorCode));
     16137                    Log4Func(("idt_info=%#RX32 idt_errcode=%#RX32 cr2=%#RX64\n", pVmxTransient->uIdtVectoringInfo,
     16138                              pVmxTransient->uIdtVectoringErrorCode, pCtx->cr2));
    1613816139                }
    1613916140#endif
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