- Timestamp:
- Oct 3, 2018 5:29:44 AM (6 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h
r74591 r74592 4796 4796 return iemRaiseGeneralProtectionFault0(pVCpu); 4797 4797 } 4798 /* Nested-guest VMX intercept. */ 4799 if (IEM_VMX_IS_PROCCTLS2_SET(pVCpu, VMX_PROC_CTLS2_DESC_TABLE_EXIT)) 4800 { 4801 Log(("lldt: Guest intercept -> VM-exit\n")); 4802 IEM_VMX_VMEXIT_INSTR_NEEDS_INFO_RET(pVCpu, VMX_EXIT_LDTR_TR_ACCESS, VMXINSTRID_LLDT, cbInstr); 4803 } 4798 4804 if (uNewLdt & X86_SEL_LDT) 4799 4805 { … … 4915 4921 IEM_CIMPL_DEF_2(iemCImpl_sldt_reg, uint8_t, iGReg, uint8_t, enmEffOpSize) 4916 4922 { 4923 if (IEM_VMX_IS_PROCCTLS2_SET(pVCpu, VMX_PROC_CTLS2_DESC_TABLE_EXIT)) 4924 { 4925 Log(("sldt: Guest intercept -> VM-exit\n")); 4926 IEM_VMX_VMEXIT_INSTR_NEEDS_INFO_RET(pVCpu, VMX_EXIT_LDTR_TR_ACCESS, VMXINSTRID_SLDT, cbInstr); 4927 } 4928 4917 4929 IEM_SVM_CHECK_INSTR_INTERCEPT(pVCpu, SVM_CTRL_INTERCEPT_LDTR_READS, SVM_EXIT_LDTR_READ, 0, 0); 4918 4930 … … 4968 4980 Log(("ltr %04x - CPL is %d -> #GP(0)\n", uNewTr, pVCpu->iem.s.uCpl)); 4969 4981 return iemRaiseGeneralProtectionFault0(pVCpu); 4982 } 4983 if (IEM_VMX_IS_PROCCTLS2_SET(pVCpu, VMX_PROC_CTLS2_DESC_TABLE_EXIT)) 4984 { 4985 Log(("ltr: Guest intercept -> VM-exit\n")); 4986 IEM_VMX_VMEXIT_INSTR_NEEDS_INFO_RET(pVCpu, VMX_EXIT_LDTR_TR_ACCESS, VMXINSTRID_LTR, cbInstr); 4970 4987 } 4971 4988 if (uNewTr & X86_SEL_LDT) … … 5080 5097 IEM_CIMPL_DEF_2(iemCImpl_str_reg, uint8_t, iGReg, uint8_t, enmEffOpSize) 5081 5098 { 5099 if (IEM_VMX_IS_PROCCTLS2_SET(pVCpu, VMX_PROC_CTLS2_DESC_TABLE_EXIT)) 5100 { 5101 Log(("str_reg: Guest intercept -> VM-exit\n")); 5102 IEM_VMX_VMEXIT_INSTR_NEEDS_INFO_RET(pVCpu, VMX_EXIT_LDTR_TR_ACCESS, VMXINSTRID_STR, cbInstr); 5103 } 5104 5082 5105 IEM_SVM_CHECK_INSTR_INTERCEPT(pVCpu, SVM_CTRL_INTERCEPT_TR_READS, SVM_EXIT_TR_READ, 0, 0); 5083 5106 … … 5104 5127 IEM_CIMPL_DEF_2(iemCImpl_str_mem, uint8_t, iEffSeg, RTGCPTR, GCPtrEffDst) 5105 5128 { 5129 if (IEM_VMX_IS_PROCCTLS2_SET(pVCpu, VMX_PROC_CTLS2_DESC_TABLE_EXIT)) 5130 { 5131 Log(("str_mem: Guest intercept -> VM-exit\n")); 5132 IEM_VMX_VMEXIT_INSTR_NEEDS_INFO_RET(pVCpu, VMX_EXIT_LDTR_TR_ACCESS, VMXINSTRID_STR, cbInstr); 5133 } 5134 5106 5135 IEM_SVM_CHECK_INSTR_INTERCEPT(pVCpu, SVM_CTRL_INTERCEPT_TR_READS, SVM_EXIT_TR_READ, 0, 0); 5107 5136 -
trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h
r74591 r74592 43 43 * VMX_EXIT_APIC_ACCESS 44 44 * VMX_EXIT_VIRTUALIZED_EOI 45 * VMX_EXIT_LDTR_TR_ACCESS46 45 * VMX_EXIT_EPT_VIOLATION 47 46 * VMX_EXIT_EPT_MISCONFIG
Note:
See TracChangeset
for help on using the changeset viewer.