Changeset 75511 in vbox
- Timestamp:
- Nov 16, 2018 11:25:07 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 126669
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllVmx.cpp
r75507 r75511 150 150 RT_NOREF4(pVM, pvPhys, enmOrigin, pvUser); 151 151 152 Assert(CPUMIsGuestInVmxNonRootMode(&pVCpu->cpum.s.Guest)); 153 Assert(CPUMIsGuestVmxProcCtls2Set(pVCpu, VMX_PROC_CTLS2_VIRT_APIC_ACCESS)); 154 152 155 #ifdef VBOX_STRICT 153 156 RTGCPHYS const GCPhysApicBase = CPUMGetGuestVmxApicAccessPageAddr(pVCpu, &pVCpu->cpum.s.Guest); … … 159 162 bool const fWrite = RT_BOOL(enmAccessType == PGMACCESSTYPE_WRITE); 160 163 VBOXSTRICTRC rcStrict = IEMExecVmxVirtApicAccessMem(pVCpu, offAccess, cbBuf, pvBuf, fWrite); 161 if (rcStrict == VINF_VMX_MODIFIES_BEHAVIOR) 162 rcStrict = VINF_SUCCESS; 163 return rcStrict; 164 if (RT_FAILURE(rcStrict)) 165 return rcStrict; 166 167 /* Any access on this APIC-access page has been handled, caller should not carry out the access. */ 168 return VINF_SUCCESS; 164 169 } 165 170 #endif -
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r75507 r75511 15686 15686 * @returns Strict VBox status code. 15687 15687 * @retval VINF_VMX_MODIFIES_BEHAVIOR if the memory access was virtualized. 15688 * @retval VINF_VMX_VMEXIT if the access causes a VM-exit. 15688 15689 * 15689 15690 * @param pVCpu The cross context virtual CPU structure of the calling EMT.
Note:
See TracChangeset
for help on using the changeset viewer.