Changeset 71859 in vbox
- Timestamp:
- Apr 13, 2018 10:56:05 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r71833 r71859 1516 1516 Assert(pVmcb); 1517 1517 if (!pCtx->hwvirt.svm.fHMCachedVmcb) 1518 return pVmcb->ctrl.NestedPaging .n.u1NestedPaging;1518 return pVmcb->ctrl.NestedPagingCtrl.n.u1NestedPaging; 1519 1519 return HMIsGuestSvmNestedPagingEnabled(pVCpu, pCtx); 1520 1520 } -
trunk/include/VBox/vmm/hm_svm.h
r71856 r71859 776 776 /** Offset 0x88 - Exit Interrupt info. */ 777 777 SVMEVENT ExitIntInfo; 778 /** Offset 0x90 - Nested Paging . */779 SVMNP NestedPaging ;778 /** Offset 0x90 - Nested Paging control. */ 779 SVMNP NestedPagingCtrl; 780 780 /** Offset 0x98 - AVIC APIC BAR. */ 781 781 SVMAVIC AvicBar; … … 831 831 AssertCompileMemberOffset(SVMVMCBCTRL, u64ExitInfo2, 0x80); 832 832 AssertCompileMemberOffset(SVMVMCBCTRL, ExitIntInfo, 0x88); 833 AssertCompileMemberOffset(SVMVMCBCTRL, NestedPaging ,0x90);833 AssertCompileMemberOffset(SVMVMCBCTRL, NestedPagingCtrl, 0x90); 834 834 AssertCompileMemberOffset(SVMVMCBCTRL, AvicBar, 0x98); 835 835 AssertCompileMemberOffset(SVMVMCBCTRL, u8Reserved2, 0xa0); -
trunk/src/VBox/VMM/VMMAll/HMSVMAll.cpp
r71833 r71859 181 181 pVmcbNstGstState->u64PAT = pNstGstVmcbCache->u64PAT; 182 182 183 pVmcbNstGstCtrl->NestedPaging .n.u1NestedPaging = pNstGstVmcbCache->u1NestedPaging;184 pVmcbNstGstCtrl->LbrVirt.n.u1LbrVirt = pNstGstVmcbCache->u1LbrVirt;183 pVmcbNstGstCtrl->NestedPagingCtrl.n.u1NestedPaging = pNstGstVmcbCache->u1NestedPaging; 184 pVmcbNstGstCtrl->LbrVirt.n.u1LbrVirt = pNstGstVmcbCache->u1LbrVirt; 185 185 pCtx->hwvirt.svm.fHMCachedVmcb = false; 186 186 } -
trunk/src/VBox/VMM/VMMAll/IEMAllCImplSvmInstr.cpp.h
r71858 r71859 360 360 361 361 /* Nested paging. */ 362 if ( pVmcbCtrl->NestedPaging .n.u1NestedPaging362 if ( pVmcbCtrl->NestedPagingCtrl.n.u1NestedPaging 363 363 && !pVM->cpum.ro.GuestFeatures.fSvmNestedPaging) 364 364 { … … 465 465 * See AMD spec. "15.25.4 Nested Paging and VMRUN/#VMEXIT". 466 466 */ 467 if ( pVmcbCtrl->NestedPaging .n.u1NestedPaging467 if ( pVmcbCtrl->NestedPagingCtrl.n.u1NestedPaging 468 468 && !CPUMIsPatMsrValid(pVmcbNstGst->u64PAT)) 469 469 { … … 635 635 pCtx->rip = pVmcbNstGst->u64RIP; 636 636 CPUMSetGuestMsrEferNoCheck(pVCpu, pCtx->msrEFER, uValidEfer); 637 if (pVmcbCtrl->NestedPaging .n.u1NestedPaging)637 if (pVmcbCtrl->NestedPagingCtrl.n.u1NestedPaging) 638 638 pCtx->msrPAT = pVmcbNstGst->u64PAT; 639 639 -
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r71856 r71859 1007 1007 1008 1008 /* Setup Nested Paging. This doesn't change throughout the execution time of the VM. */ 1009 pVmcb->ctrl.NestedPaging .n.u1NestedPaging = pVM->hm.s.fNestedPaging;1009 pVmcb->ctrl.NestedPagingCtrl.n.u1NestedPaging = pVM->hm.s.fNestedPaging; 1010 1010 1011 1011 /* Without Nested Paging, we need additionally intercepts. */ … … 2446 2446 pVmcbNstGstCache->fVIntrMasking = pVmcbNstGstCtrl->IntCtrl.n.u1VIntrMasking; 2447 2447 pVmcbNstGstCache->TLBCtrl = pVmcbNstGstCtrl->TLBCtrl; 2448 pVmcbNstGstCache->u1NestedPaging = pVmcbNstGstCtrl->NestedPaging .n.u1NestedPaging;2448 pVmcbNstGstCache->u1NestedPaging = pVmcbNstGstCtrl->NestedPagingCtrl.n.u1NestedPaging; 2449 2449 pVmcbNstGstCache->u1LbrVirt = pVmcbNstGstCtrl->LbrVirt.n.u1LbrVirt; 2450 2450 pCtx->hwvirt.svm.fHMCachedVmcb = true; … … 2485 2485 * Trap0eHandler() in PGMAllBth.h). 2486 2486 */ 2487 pVmcbNstGstCtrl->NestedPaging .n.u1NestedPaging = pVCpu->CTX_SUFF(pVM)->hm.s.fNestedPaging;2487 pVmcbNstGstCtrl->NestedPagingCtrl.n.u1NestedPaging = pVCpu->CTX_SUFF(pVM)->hm.s.fNestedPaging; 2488 2488 2489 2489 /* Override nested-guest PAT MSR, see @bugref{7243#c109}. */ … … 2500 2500 { 2501 2501 Assert(pVmcbNstGstCtrl->u64IOPMPhysAddr == g_HCPhysIOBitmap); 2502 Assert(RT_BOOL(pVmcbNstGstCtrl->NestedPaging .n.u1NestedPaging) == pVCpu->CTX_SUFF(pVM)->hm.s.fNestedPaging);2502 Assert(RT_BOOL(pVmcbNstGstCtrl->NestedPagingCtrl.n.u1NestedPaging) == pVCpu->CTX_SUFF(pVM)->hm.s.fNestedPaging); 2503 2503 } 2504 2504 } … … 2777 2777 * This is done as the very last step of syncing the guest state, as PGMUpdateCR3() may cause longjmp's to ring-3. 2778 2778 */ 2779 if ( pVmcb->ctrl.NestedPaging .n.u1NestedPaging2779 if ( pVmcb->ctrl.NestedPagingCtrl.n.u1NestedPaging 2780 2780 && pMixedCtx->cr3 != pVmcb->guest.u64CR3) 2781 2781 { … … 3831 3831 hmR0DumpRegs(pVM, pVCpu, pCtx); NOREF(pVM); 3832 3832 #ifdef VBOX_STRICT 3833 Log4(("ctrl.u32VmcbCleanBits %#RX32\n", pVmcb->ctrl.u32VmcbCleanBits));3834 Log4(("ctrl.u16InterceptRdCRx %#x\n", pVmcb->ctrl.u16InterceptRdCRx));3835 Log4(("ctrl.u16InterceptWrCRx %#x\n", pVmcb->ctrl.u16InterceptWrCRx));3836 Log4(("ctrl.u16InterceptRdDRx %#x\n", pVmcb->ctrl.u16InterceptRdDRx));3837 Log4(("ctrl.u16InterceptWrDRx %#x\n", pVmcb->ctrl.u16InterceptWrDRx));3838 Log4(("ctrl.u32InterceptXcpt %#x\n", pVmcb->ctrl.u32InterceptXcpt));3839 Log4(("ctrl.u64InterceptCtrl %#RX64\n", pVmcb->ctrl.u64InterceptCtrl));3840 Log4(("ctrl.u64IOPMPhysAddr %#RX64\n", pVmcb->ctrl.u64IOPMPhysAddr));3841 Log4(("ctrl.u64MSRPMPhysAddr %#RX64\n", pVmcb->ctrl.u64MSRPMPhysAddr));3842 Log4(("ctrl.u64TSCOffset %#RX64\n", pVmcb->ctrl.u64TSCOffset));3843 3844 Log4(("ctrl.TLBCtrl.u32ASID %#x\n", pVmcb->ctrl.TLBCtrl.n.u32ASID));3845 Log4(("ctrl.TLBCtrl.u8TLBFlush %#x\n", pVmcb->ctrl.TLBCtrl.n.u8TLBFlush));3846 Log4(("ctrl.TLBCtrl.u24Reserved %#x\n", pVmcb->ctrl.TLBCtrl.n.u24Reserved));3847 3848 Log4(("ctrl.IntCtrl.u8VTPR %#x\n", pVmcb->ctrl.IntCtrl.n.u8VTPR));3849 Log4(("ctrl.IntCtrl.u1VIrqPending %#x\n", pVmcb->ctrl.IntCtrl.n.u1VIrqPending));3850 Log4(("ctrl.IntCtrl.u1VGif %#x\n", pVmcb->ctrl.IntCtrl.n.u1VGif));3851 Log4(("ctrl.IntCtrl.u6Reserved0 %#x\n", pVmcb->ctrl.IntCtrl.n.u6Reserved0));3852 Log4(("ctrl.IntCtrl.u4VIntrPrio %#x\n", pVmcb->ctrl.IntCtrl.n.u4VIntrPrio));3853 Log4(("ctrl.IntCtrl.u1IgnoreTPR %#x\n", pVmcb->ctrl.IntCtrl.n.u1IgnoreTPR));3854 Log4(("ctrl.IntCtrl.u3Reserved %#x\n", pVmcb->ctrl.IntCtrl.n.u3Reserved));3855 Log4(("ctrl.IntCtrl.u1VIntrMasking %#x\n", pVmcb->ctrl.IntCtrl.n.u1VIntrMasking));3856 Log4(("ctrl.IntCtrl.u1VGifEnable %#x\n", pVmcb->ctrl.IntCtrl.n.u1VGifEnable));3857 Log4(("ctrl.IntCtrl.u5Reserved1 %#x\n", pVmcb->ctrl.IntCtrl.n.u5Reserved1));3858 Log4(("ctrl.IntCtrl.u8VIntrVector %#x\n", pVmcb->ctrl.IntCtrl.n.u8VIntrVector));3859 Log4(("ctrl.IntCtrl.u24Reserved %#x\n", pVmcb->ctrl.IntCtrl.n.u24Reserved));3860 3861 Log4(("ctrl.IntShadow.u1IntShadow %#x\n", pVmcb->ctrl.IntShadow.n.u1IntShadow));3862 Log4(("ctrl.IntShadow.u1GuestIntMask %#x\n", pVmcb->ctrl.IntShadow.n.u1GuestIntMask));3863 Log4(("ctrl.u64ExitCode %#RX64\n", pVmcb->ctrl.u64ExitCode));3864 Log4(("ctrl.u64ExitInfo1 %#RX64\n", pVmcb->ctrl.u64ExitInfo1));3865 Log4(("ctrl.u64ExitInfo2 %#RX64\n", pVmcb->ctrl.u64ExitInfo2));3866 Log4(("ctrl.ExitIntInfo.u8Vector %#x\n", pVmcb->ctrl.ExitIntInfo.n.u8Vector));3867 Log4(("ctrl.ExitIntInfo.u3Type %#x\n", pVmcb->ctrl.ExitIntInfo.n.u3Type));3868 Log4(("ctrl.ExitIntInfo.u1ErrorCodeValid %#x\n", pVmcb->ctrl.ExitIntInfo.n.u1ErrorCodeValid));3869 Log4(("ctrl.ExitIntInfo.u19Reserved %#x\n", pVmcb->ctrl.ExitIntInfo.n.u19Reserved));3870 Log4(("ctrl.ExitIntInfo.u1Valid %#x\n", pVmcb->ctrl.ExitIntInfo.n.u1Valid));3871 Log4(("ctrl.ExitIntInfo.u32ErrorCode %#x\n", pVmcb->ctrl.ExitIntInfo.n.u32ErrorCode));3872 Log4(("ctrl.NestedPaging .u1NestedPaging %#x\n", pVmcb->ctrl.NestedPaging.n.u1NestedPaging));3873 Log4(("ctrl.NestedPaging .u1Sev %#x\n", pVmcb->ctrl.NestedPaging.n.u1Sev));3874 Log4(("ctrl.NestedPaging .u1SevEs %#x\n", pVmcb->ctrl.NestedPaging.n.u1SevEs));3875 Log4(("ctrl.EventInject.u8Vector %#x\n", pVmcb->ctrl.EventInject.n.u8Vector));3876 Log4(("ctrl.EventInject.u3Type %#x\n", pVmcb->ctrl.EventInject.n.u3Type));3877 Log4(("ctrl.EventInject.u1ErrorCodeValid %#x\n", pVmcb->ctrl.EventInject.n.u1ErrorCodeValid));3878 Log4(("ctrl.EventInject.u19Reserved %#x\n", pVmcb->ctrl.EventInject.n.u19Reserved));3879 Log4(("ctrl.EventInject.u1Valid %#x\n", pVmcb->ctrl.EventInject.n.u1Valid));3880 Log4(("ctrl.EventInject.u32ErrorCode %#x\n", pVmcb->ctrl.EventInject.n.u32ErrorCode));3881 3882 Log4(("ctrl.u64NestedPagingCR3 %#RX64\n", pVmcb->ctrl.u64NestedPagingCR3));3883 3884 Log4(("ctrl.LbrVirt.u1LbrVirt %#x\n", pVmcb->ctrl.LbrVirt.n.u1LbrVirt));3885 Log4(("ctrl.LbrVirt.u1VirtVmsaveVmload %#x\n", pVmcb->ctrl.LbrVirt.n.u1VirtVmsaveVmload));3886 3887 Log4(("guest.CS.u16Sel %RTsel\n", pVmcb->guest.CS.u16Sel));3888 Log4(("guest.CS.u16Attr %#x\n", pVmcb->guest.CS.u16Attr));3889 Log4(("guest.CS.u32Limit %#RX32\n", pVmcb->guest.CS.u32Limit));3890 Log4(("guest.CS.u64Base %#RX64\n", pVmcb->guest.CS.u64Base));3891 Log4(("guest.DS.u16Sel %#RTsel\n", pVmcb->guest.DS.u16Sel));3892 Log4(("guest.DS.u16Attr %#x\n", pVmcb->guest.DS.u16Attr));3893 Log4(("guest.DS.u32Limit %#RX32\n", pVmcb->guest.DS.u32Limit));3894 Log4(("guest.DS.u64Base %#RX64\n", pVmcb->guest.DS.u64Base));3895 Log4(("guest.ES.u16Sel %RTsel\n", pVmcb->guest.ES.u16Sel));3896 Log4(("guest.ES.u16Attr %#x\n", pVmcb->guest.ES.u16Attr));3897 Log4(("guest.ES.u32Limit %#RX32\n", pVmcb->guest.ES.u32Limit));3898 Log4(("guest.ES.u64Base %#RX64\n", pVmcb->guest.ES.u64Base));3899 Log4(("guest.FS.u16Sel %RTsel\n", pVmcb->guest.FS.u16Sel));3900 Log4(("guest.FS.u16Attr %#x\n", pVmcb->guest.FS.u16Attr));3901 Log4(("guest.FS.u32Limit %#RX32\n", pVmcb->guest.FS.u32Limit));3902 Log4(("guest.FS.u64Base %#RX64\n", pVmcb->guest.FS.u64Base));3903 Log4(("guest.GS.u16Sel %RTsel\n", pVmcb->guest.GS.u16Sel));3904 Log4(("guest.GS.u16Attr %#x\n", pVmcb->guest.GS.u16Attr));3905 Log4(("guest.GS.u32Limit %#RX32\n", pVmcb->guest.GS.u32Limit));3906 Log4(("guest.GS.u64Base %#RX64\n", pVmcb->guest.GS.u64Base));3907 3908 Log4(("guest.GDTR.u32Limit %#RX32\n", pVmcb->guest.GDTR.u32Limit));3909 Log4(("guest.GDTR.u64Base %#RX64\n", pVmcb->guest.GDTR.u64Base));3910 3911 Log4(("guest.LDTR.u16Sel %RTsel\n", pVmcb->guest.LDTR.u16Sel));3912 Log4(("guest.LDTR.u16Attr %#x\n", pVmcb->guest.LDTR.u16Attr));3913 Log4(("guest.LDTR.u32Limit %#RX32\n", pVmcb->guest.LDTR.u32Limit));3914 Log4(("guest.LDTR.u64Base %#RX64\n", pVmcb->guest.LDTR.u64Base));3915 3916 Log4(("guest.IDTR.u32Limit %#RX32\n", pVmcb->guest.IDTR.u32Limit));3917 Log4(("guest.IDTR.u64Base %#RX64\n", pVmcb->guest.IDTR.u64Base));3918 3919 Log4(("guest.TR.u16Sel %RTsel\n", pVmcb->guest.TR.u16Sel));3920 Log4(("guest.TR.u16Attr %#x\n", pVmcb->guest.TR.u16Attr));3921 Log4(("guest.TR.u32Limit %#RX32\n", pVmcb->guest.TR.u32Limit));3922 Log4(("guest.TR.u64Base %#RX64\n", pVmcb->guest.TR.u64Base));3923 3924 Log4(("guest.u8CPL %#x\n", pVmcb->guest.u8CPL));3925 Log4(("guest.u64CR0 %#RX64\n", pVmcb->guest.u64CR0));3926 Log4(("guest.u64CR2 %#RX64\n", pVmcb->guest.u64CR2));3927 Log4(("guest.u64CR3 %#RX64\n", pVmcb->guest.u64CR3));3928 Log4(("guest.u64CR4 %#RX64\n", pVmcb->guest.u64CR4));3929 Log4(("guest.u64DR6 %#RX64\n", pVmcb->guest.u64DR6));3930 Log4(("guest.u64DR7 %#RX64\n", pVmcb->guest.u64DR7));3931 3932 Log4(("guest.u64RIP %#RX64\n", pVmcb->guest.u64RIP));3933 Log4(("guest.u64RSP %#RX64\n", pVmcb->guest.u64RSP));3934 Log4(("guest.u64RAX %#RX64\n", pVmcb->guest.u64RAX));3935 Log4(("guest.u64RFlags %#RX64\n", pVmcb->guest.u64RFlags));3936 3937 Log4(("guest.u64SysEnterCS %#RX64\n", pVmcb->guest.u64SysEnterCS));3938 Log4(("guest.u64SysEnterEIP %#RX64\n", pVmcb->guest.u64SysEnterEIP));3939 Log4(("guest.u64SysEnterESP %#RX64\n", pVmcb->guest.u64SysEnterESP));3940 3941 Log4(("guest.u64EFER %#RX64\n", pVmcb->guest.u64EFER));3942 Log4(("guest.u64STAR %#RX64\n", pVmcb->guest.u64STAR));3943 Log4(("guest.u64LSTAR %#RX64\n", pVmcb->guest.u64LSTAR));3944 Log4(("guest.u64CSTAR %#RX64\n", pVmcb->guest.u64CSTAR));3945 Log4(("guest.u64SFMASK %#RX64\n", pVmcb->guest.u64SFMASK));3946 Log4(("guest.u64KernelGSBase %#RX64\n", pVmcb->guest.u64KernelGSBase));3947 Log4(("guest.u64PAT %#RX64\n", pVmcb->guest.u64PAT));3948 Log4(("guest.u64DBGCTL %#RX64\n", pVmcb->guest.u64DBGCTL));3949 Log4(("guest.u64BR_FROM %#RX64\n", pVmcb->guest.u64BR_FROM));3950 Log4(("guest.u64BR_TO %#RX64\n", pVmcb->guest.u64BR_TO));3951 Log4(("guest.u64LASTEXCPFROM %#RX64\n", pVmcb->guest.u64LASTEXCPFROM));3952 Log4(("guest.u64LASTEXCPTO %#RX64\n", pVmcb->guest.u64LASTEXCPTO));3833 Log4(("ctrl.u32VmcbCleanBits %#RX32\n", pVmcb->ctrl.u32VmcbCleanBits)); 3834 Log4(("ctrl.u16InterceptRdCRx %#x\n", pVmcb->ctrl.u16InterceptRdCRx)); 3835 Log4(("ctrl.u16InterceptWrCRx %#x\n", pVmcb->ctrl.u16InterceptWrCRx)); 3836 Log4(("ctrl.u16InterceptRdDRx %#x\n", pVmcb->ctrl.u16InterceptRdDRx)); 3837 Log4(("ctrl.u16InterceptWrDRx %#x\n", pVmcb->ctrl.u16InterceptWrDRx)); 3838 Log4(("ctrl.u32InterceptXcpt %#x\n", pVmcb->ctrl.u32InterceptXcpt)); 3839 Log4(("ctrl.u64InterceptCtrl %#RX64\n", pVmcb->ctrl.u64InterceptCtrl)); 3840 Log4(("ctrl.u64IOPMPhysAddr %#RX64\n", pVmcb->ctrl.u64IOPMPhysAddr)); 3841 Log4(("ctrl.u64MSRPMPhysAddr %#RX64\n", pVmcb->ctrl.u64MSRPMPhysAddr)); 3842 Log4(("ctrl.u64TSCOffset %#RX64\n", pVmcb->ctrl.u64TSCOffset)); 3843 3844 Log4(("ctrl.TLBCtrl.u32ASID %#x\n", pVmcb->ctrl.TLBCtrl.n.u32ASID)); 3845 Log4(("ctrl.TLBCtrl.u8TLBFlush %#x\n", pVmcb->ctrl.TLBCtrl.n.u8TLBFlush)); 3846 Log4(("ctrl.TLBCtrl.u24Reserved %#x\n", pVmcb->ctrl.TLBCtrl.n.u24Reserved)); 3847 3848 Log4(("ctrl.IntCtrl.u8VTPR %#x\n", pVmcb->ctrl.IntCtrl.n.u8VTPR)); 3849 Log4(("ctrl.IntCtrl.u1VIrqPending %#x\n", pVmcb->ctrl.IntCtrl.n.u1VIrqPending)); 3850 Log4(("ctrl.IntCtrl.u1VGif %#x\n", pVmcb->ctrl.IntCtrl.n.u1VGif)); 3851 Log4(("ctrl.IntCtrl.u6Reserved0 %#x\n", pVmcb->ctrl.IntCtrl.n.u6Reserved0)); 3852 Log4(("ctrl.IntCtrl.u4VIntrPrio %#x\n", pVmcb->ctrl.IntCtrl.n.u4VIntrPrio)); 3853 Log4(("ctrl.IntCtrl.u1IgnoreTPR %#x\n", pVmcb->ctrl.IntCtrl.n.u1IgnoreTPR)); 3854 Log4(("ctrl.IntCtrl.u3Reserved %#x\n", pVmcb->ctrl.IntCtrl.n.u3Reserved)); 3855 Log4(("ctrl.IntCtrl.u1VIntrMasking %#x\n", pVmcb->ctrl.IntCtrl.n.u1VIntrMasking)); 3856 Log4(("ctrl.IntCtrl.u1VGifEnable %#x\n", pVmcb->ctrl.IntCtrl.n.u1VGifEnable)); 3857 Log4(("ctrl.IntCtrl.u5Reserved1 %#x\n", pVmcb->ctrl.IntCtrl.n.u5Reserved1)); 3858 Log4(("ctrl.IntCtrl.u8VIntrVector %#x\n", pVmcb->ctrl.IntCtrl.n.u8VIntrVector)); 3859 Log4(("ctrl.IntCtrl.u24Reserved %#x\n", pVmcb->ctrl.IntCtrl.n.u24Reserved)); 3860 3861 Log4(("ctrl.IntShadow.u1IntShadow %#x\n", pVmcb->ctrl.IntShadow.n.u1IntShadow)); 3862 Log4(("ctrl.IntShadow.u1GuestIntMask %#x\n", pVmcb->ctrl.IntShadow.n.u1GuestIntMask)); 3863 Log4(("ctrl.u64ExitCode %#RX64\n", pVmcb->ctrl.u64ExitCode)); 3864 Log4(("ctrl.u64ExitInfo1 %#RX64\n", pVmcb->ctrl.u64ExitInfo1)); 3865 Log4(("ctrl.u64ExitInfo2 %#RX64\n", pVmcb->ctrl.u64ExitInfo2)); 3866 Log4(("ctrl.ExitIntInfo.u8Vector %#x\n", pVmcb->ctrl.ExitIntInfo.n.u8Vector)); 3867 Log4(("ctrl.ExitIntInfo.u3Type %#x\n", pVmcb->ctrl.ExitIntInfo.n.u3Type)); 3868 Log4(("ctrl.ExitIntInfo.u1ErrorCodeValid %#x\n", pVmcb->ctrl.ExitIntInfo.n.u1ErrorCodeValid)); 3869 Log4(("ctrl.ExitIntInfo.u19Reserved %#x\n", pVmcb->ctrl.ExitIntInfo.n.u19Reserved)); 3870 Log4(("ctrl.ExitIntInfo.u1Valid %#x\n", pVmcb->ctrl.ExitIntInfo.n.u1Valid)); 3871 Log4(("ctrl.ExitIntInfo.u32ErrorCode %#x\n", pVmcb->ctrl.ExitIntInfo.n.u32ErrorCode)); 3872 Log4(("ctrl.NestedPagingCtrl.u1NestedPaging %#x\n", pVmcb->ctrl.NestedPagingCtrl.n.u1NestedPaging)); 3873 Log4(("ctrl.NestedPagingCtrl.u1Sev %#x\n", pVmcb->ctrl.NestedPagingCtrl.n.u1Sev)); 3874 Log4(("ctrl.NestedPagingCtrl.u1SevEs %#x\n", pVmcb->ctrl.NestedPagingCtrl.n.u1SevEs)); 3875 Log4(("ctrl.EventInject.u8Vector %#x\n", pVmcb->ctrl.EventInject.n.u8Vector)); 3876 Log4(("ctrl.EventInject.u3Type %#x\n", pVmcb->ctrl.EventInject.n.u3Type)); 3877 Log4(("ctrl.EventInject.u1ErrorCodeValid %#x\n", pVmcb->ctrl.EventInject.n.u1ErrorCodeValid)); 3878 Log4(("ctrl.EventInject.u19Reserved %#x\n", pVmcb->ctrl.EventInject.n.u19Reserved)); 3879 Log4(("ctrl.EventInject.u1Valid %#x\n", pVmcb->ctrl.EventInject.n.u1Valid)); 3880 Log4(("ctrl.EventInject.u32ErrorCode %#x\n", pVmcb->ctrl.EventInject.n.u32ErrorCode)); 3881 3882 Log4(("ctrl.u64NestedPagingCR3 %#RX64\n", pVmcb->ctrl.u64NestedPagingCR3)); 3883 3884 Log4(("ctrl.LbrVirt.u1LbrVirt %#x\n", pVmcb->ctrl.LbrVirt.n.u1LbrVirt)); 3885 Log4(("ctrl.LbrVirt.u1VirtVmsaveVmload %#x\n", pVmcb->ctrl.LbrVirt.n.u1VirtVmsaveVmload)); 3886 3887 Log4(("guest.CS.u16Sel %RTsel\n", pVmcb->guest.CS.u16Sel)); 3888 Log4(("guest.CS.u16Attr %#x\n", pVmcb->guest.CS.u16Attr)); 3889 Log4(("guest.CS.u32Limit %#RX32\n", pVmcb->guest.CS.u32Limit)); 3890 Log4(("guest.CS.u64Base %#RX64\n", pVmcb->guest.CS.u64Base)); 3891 Log4(("guest.DS.u16Sel %#RTsel\n", pVmcb->guest.DS.u16Sel)); 3892 Log4(("guest.DS.u16Attr %#x\n", pVmcb->guest.DS.u16Attr)); 3893 Log4(("guest.DS.u32Limit %#RX32\n", pVmcb->guest.DS.u32Limit)); 3894 Log4(("guest.DS.u64Base %#RX64\n", pVmcb->guest.DS.u64Base)); 3895 Log4(("guest.ES.u16Sel %RTsel\n", pVmcb->guest.ES.u16Sel)); 3896 Log4(("guest.ES.u16Attr %#x\n", pVmcb->guest.ES.u16Attr)); 3897 Log4(("guest.ES.u32Limit %#RX32\n", pVmcb->guest.ES.u32Limit)); 3898 Log4(("guest.ES.u64Base %#RX64\n", pVmcb->guest.ES.u64Base)); 3899 Log4(("guest.FS.u16Sel %RTsel\n", pVmcb->guest.FS.u16Sel)); 3900 Log4(("guest.FS.u16Attr %#x\n", pVmcb->guest.FS.u16Attr)); 3901 Log4(("guest.FS.u32Limit %#RX32\n", pVmcb->guest.FS.u32Limit)); 3902 Log4(("guest.FS.u64Base %#RX64\n", pVmcb->guest.FS.u64Base)); 3903 Log4(("guest.GS.u16Sel %RTsel\n", pVmcb->guest.GS.u16Sel)); 3904 Log4(("guest.GS.u16Attr %#x\n", pVmcb->guest.GS.u16Attr)); 3905 Log4(("guest.GS.u32Limit %#RX32\n", pVmcb->guest.GS.u32Limit)); 3906 Log4(("guest.GS.u64Base %#RX64\n", pVmcb->guest.GS.u64Base)); 3907 3908 Log4(("guest.GDTR.u32Limit %#RX32\n", pVmcb->guest.GDTR.u32Limit)); 3909 Log4(("guest.GDTR.u64Base %#RX64\n", pVmcb->guest.GDTR.u64Base)); 3910 3911 Log4(("guest.LDTR.u16Sel %RTsel\n", pVmcb->guest.LDTR.u16Sel)); 3912 Log4(("guest.LDTR.u16Attr %#x\n", pVmcb->guest.LDTR.u16Attr)); 3913 Log4(("guest.LDTR.u32Limit %#RX32\n", pVmcb->guest.LDTR.u32Limit)); 3914 Log4(("guest.LDTR.u64Base %#RX64\n", pVmcb->guest.LDTR.u64Base)); 3915 3916 Log4(("guest.IDTR.u32Limit %#RX32\n", pVmcb->guest.IDTR.u32Limit)); 3917 Log4(("guest.IDTR.u64Base %#RX64\n", pVmcb->guest.IDTR.u64Base)); 3918 3919 Log4(("guest.TR.u16Sel %RTsel\n", pVmcb->guest.TR.u16Sel)); 3920 Log4(("guest.TR.u16Attr %#x\n", pVmcb->guest.TR.u16Attr)); 3921 Log4(("guest.TR.u32Limit %#RX32\n", pVmcb->guest.TR.u32Limit)); 3922 Log4(("guest.TR.u64Base %#RX64\n", pVmcb->guest.TR.u64Base)); 3923 3924 Log4(("guest.u8CPL %#x\n", pVmcb->guest.u8CPL)); 3925 Log4(("guest.u64CR0 %#RX64\n", pVmcb->guest.u64CR0)); 3926 Log4(("guest.u64CR2 %#RX64\n", pVmcb->guest.u64CR2)); 3927 Log4(("guest.u64CR3 %#RX64\n", pVmcb->guest.u64CR3)); 3928 Log4(("guest.u64CR4 %#RX64\n", pVmcb->guest.u64CR4)); 3929 Log4(("guest.u64DR6 %#RX64\n", pVmcb->guest.u64DR6)); 3930 Log4(("guest.u64DR7 %#RX64\n", pVmcb->guest.u64DR7)); 3931 3932 Log4(("guest.u64RIP %#RX64\n", pVmcb->guest.u64RIP)); 3933 Log4(("guest.u64RSP %#RX64\n", pVmcb->guest.u64RSP)); 3934 Log4(("guest.u64RAX %#RX64\n", pVmcb->guest.u64RAX)); 3935 Log4(("guest.u64RFlags %#RX64\n", pVmcb->guest.u64RFlags)); 3936 3937 Log4(("guest.u64SysEnterCS %#RX64\n", pVmcb->guest.u64SysEnterCS)); 3938 Log4(("guest.u64SysEnterEIP %#RX64\n", pVmcb->guest.u64SysEnterEIP)); 3939 Log4(("guest.u64SysEnterESP %#RX64\n", pVmcb->guest.u64SysEnterESP)); 3940 3941 Log4(("guest.u64EFER %#RX64\n", pVmcb->guest.u64EFER)); 3942 Log4(("guest.u64STAR %#RX64\n", pVmcb->guest.u64STAR)); 3943 Log4(("guest.u64LSTAR %#RX64\n", pVmcb->guest.u64LSTAR)); 3944 Log4(("guest.u64CSTAR %#RX64\n", pVmcb->guest.u64CSTAR)); 3945 Log4(("guest.u64SFMASK %#RX64\n", pVmcb->guest.u64SFMASK)); 3946 Log4(("guest.u64KernelGSBase %#RX64\n", pVmcb->guest.u64KernelGSBase)); 3947 Log4(("guest.u64PAT %#RX64\n", pVmcb->guest.u64PAT)); 3948 Log4(("guest.u64DBGCTL %#RX64\n", pVmcb->guest.u64DBGCTL)); 3949 Log4(("guest.u64BR_FROM %#RX64\n", pVmcb->guest.u64BR_FROM)); 3950 Log4(("guest.u64BR_TO %#RX64\n", pVmcb->guest.u64BR_TO)); 3951 Log4(("guest.u64LASTEXCPFROM %#RX64\n", pVmcb->guest.u64LASTEXCPFROM)); 3952 Log4(("guest.u64LASTEXCPTO %#RX64\n", pVmcb->guest.u64LASTEXCPTO)); 3953 3953 #endif /* VBOX_STRICT */ 3954 3954 } -
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r71833 r71859 2254 2254 pHlp->pfnPrintf(pHlp, "%s u32ErrorCode = %#RX32\n", pszPrefix, pVmcbCtrl->ExitIntInfo.n.u32ErrorCode); 2255 2255 pHlp->pfnPrintf(pHlp, "%sNestedPaging and SEV\n", pszPrefix); 2256 pHlp->pfnPrintf(pHlp, "%s u1NestedPaging = %RTbool\n", pszPrefix, pVmcbCtrl->NestedPaging .n.u1NestedPaging);2257 pHlp->pfnPrintf(pHlp, "%s u1Sev = %RTbool\n", pszPrefix, pVmcbCtrl->NestedPaging .n.u1Sev);2258 pHlp->pfnPrintf(pHlp, "%s u1SevEs = %RTbool\n", pszPrefix, pVmcbCtrl->NestedPaging .n.u1SevEs);2256 pHlp->pfnPrintf(pHlp, "%s u1NestedPaging = %RTbool\n", pszPrefix, pVmcbCtrl->NestedPagingCtrl.n.u1NestedPaging); 2257 pHlp->pfnPrintf(pHlp, "%s u1Sev = %RTbool\n", pszPrefix, pVmcbCtrl->NestedPagingCtrl.n.u1Sev); 2258 pHlp->pfnPrintf(pHlp, "%s u1SevEs = %RTbool\n", pszPrefix, pVmcbCtrl->NestedPagingCtrl.n.u1SevEs); 2259 2259 pHlp->pfnPrintf(pHlp, "%sAvicBar\n", pszPrefix); 2260 2260 pHlp->pfnPrintf(pHlp, "%s u40Addr = %#RX64\n", pszPrefix, pVmcbCtrl->AvicBar.n.u40Addr);
Note:
See TracChangeset
for help on using the changeset viewer.