Changeset 80262 in vbox
- Timestamp:
- Aug 14, 2019 5:02:49 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 132713
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r80191 r80262 1874 1874 EmuFeat.fVmxCr8LoadExit = 1; 1875 1875 EmuFeat.fVmxCr8StoreExit = 1; 1876 EmuFeat.fVmxUseTprShadow = 0;1876 EmuFeat.fVmxUseTprShadow = 1; 1877 1877 EmuFeat.fVmxNmiWindowExit = 0; 1878 1878 EmuFeat.fVmxMovDRxExit = 1; … … 1884 1884 EmuFeat.fVmxPauseExit = 1; 1885 1885 EmuFeat.fVmxSecondaryExecCtls = 1; 1886 EmuFeat.fVmxVirtApicAccess = 0;1886 EmuFeat.fVmxVirtApicAccess = 1; 1887 1887 EmuFeat.fVmxEpt = 0; /* Cannot be disabled if unrestricted guest is enabled. */ 1888 1888 EmuFeat.fVmxDescTableExit = 1; … … 1919 1919 EmuFeat.fVmxIntelPt = 0; 1920 1920 EmuFeat.fVmxVmwriteAll = 0; /** @todo NSTVMX: enable this when nested VMCS shadowing is enabled. */ 1921 EmuFeat.fVmxEntryInjectSoftInt = 0;1921 EmuFeat.fVmxEntryInjectSoftInt = 1; 1922 1922 1923 1923 /* … … 3691 3691 * Displays a virtual-VMCS. 3692 3692 * 3693 * @param pVCpu The cross context virtual CPU structure. 3693 3694 * @param pHlp The info helper functions. 3694 3695 * @param pVmcs Pointer to a virtual VMCS. 3695 3696 * @param pszPrefix Caller specified string prefix. 3696 3697 */ 3697 static void cpumR3InfoVmxVmcs(PCDBGFINFOHLP pHlp, PCVMXVVMCS pVmcs, const char *pszPrefix)3698 static void cpumR3InfoVmxVmcs(PVMCPU pVCpu, PCDBGFINFOHLP pHlp, PCVMXVVMCS pVmcs, const char *pszPrefix) 3698 3699 { 3699 3700 AssertReturnVoid(pHlp); … … 3940 3941 pHlp->pfnPrintf(pHlp, " %sGuest-linear addr = %#RX64\n", pszPrefix, pVmcs->u64RoGuestLinearAddr.u); 3941 3942 } 3943 3944 #ifdef DEBUG_ramshankar 3945 if (pVmcs->u32ProcCtls & VMX_PROC_CTLS_USE_TPR_SHADOW) 3946 { 3947 void *pvPage = RTMemTmpAllocZ(VMX_V_VIRT_APIC_SIZE); 3948 Assert(pvPage); 3949 RTGCPHYS const GCPhysVirtApic = pVmcs->u64AddrVirtApic.u; 3950 int rc = PGMPhysSimpleReadGCPhys(pVCpu->CTX_SUFF(pVM), pvPage, GCPhysVirtApic, VMX_V_VIRT_APIC_SIZE); 3951 if (RT_SUCCESS(rc)) 3952 { 3953 pHlp->pfnPrintf(pHlp, " %sVirtual-APIC page\n", pszPrefix); 3954 pHlp->pfnPrintf(pHlp, "%.*Rhxs\n", VMX_V_VIRT_APIC_SIZE, pvPage); 3955 pHlp->pfnPrintf(pHlp, "\n"); 3956 } 3957 RTMemTmpFree(pvPage); 3958 } 3959 #else 3960 NOREF(pVCpu); 3961 #endif 3942 3962 3943 3963 #undef CPUMVMX_DUMP_HOST_XDTR … … 4063 4083 pHlp->pfnPrintf(pHlp, " fVirtNmiBlocking = %RTbool\n", pCtx->hwvirt.vmx.fVirtNmiBlocking); 4064 4084 pHlp->pfnPrintf(pHlp, " VMCS cache:\n"); 4065 cpumR3InfoVmxVmcs(p Hlp, pCtx->hwvirt.vmx.pVmcsR3, " " /* pszPrefix */);4085 cpumR3InfoVmxVmcs(pVCpu, pHlp, pCtx->hwvirt.vmx.pVmcsR3, " " /* pszPrefix */); 4066 4086 } 4067 4087
Note:
See TracChangeset
for help on using the changeset viewer.