Changeset 46888 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jul 1, 2013 2:58:03 PM (11 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r46883 r46888 189 189 /** The guest's TPR value used for TPR shadowing. */ 190 190 uint8_t u8GuestTpr; 191 191 /** Alignment. */ 192 uint8_t abAlignment0[7]; 193 194 /** Whether the TSC_AUX MSR needs restoring on #VMEXIT. */ 195 bool fRestoreTscAuxMsr; 192 196 /** Whether the #VMEXIT was caused by a page-fault during delivery of a 193 197 * contributary exception or a page-fault. */ … … 195 199 /** Whether the TSC offset mode needs to be updated. */ 196 200 bool fUpdateTscOffsetting; 197 /** Whether the TSC_AUX MSR needs restoring on #VMEXIT. */198 bool fRestoreTscAuxMsr;199 201 } SVMTRANSIENT, *PSVMTRANSIENT; 202 AssertCompileMemberAlignment(SVMTRANSIENT, u64ExitCode, sizeof(uint64_t)); 203 AssertCompileMemberAlignment(SVMTRANSIENT, fRestoreTscAuxMsr, sizeof(uint64_t)); 200 204 /** @} */ 201 205 … … 2191 2195 { 2192 2196 Assert(!TRPMHasTrap(pVCpu)); 2197 Log4Func(("\n")); 2193 2198 2194 2199 const bool fIntShadow = !!hmR0SvmGetGuestIntrShadow(pVCpu, pCtx); … … 2217 2222 if (fInject) 2218 2223 { 2224 Log4(("Injecting pending HM event.\n")); 2225 2219 2226 hmR0SvmInjectEventVmcb(pVCpu, pVmcb, pCtx, &Event); 2220 2227 pVCpu->hm.s.Event.fPending = false; … … 3446 3453 3447 3454 pVCpu->hm.s.Event.u64IntrInfo = pVmcb->ctrl.ExitIntInfo.u; 3448 pVCpu->hm.s.Event.fPending = true;3449 3450 3455 hmR0SvmSetPendingEvent(pVCpu, &pVmcb->ctrl.ExitIntInfo, 0 /* GCPtrFaultAddress */); 3451 3456 … … 4406 4411 STAM_COUNTER_INC(&pVCpu->hm.s.StatExitGuestMF); 4407 4412 4408 int rc;4409 4413 if (!(pCtx->cr0 & X86_CR0_NE)) 4410 4414 { -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r46882 r46888 178 178 uint8_t u8GuestTpr; 179 179 /** Alignment. */ 180 uint8_t abAlignment0[ 6];180 uint8_t abAlignment0[7]; 181 181 182 182 /** The basic VM-exit reason. */ … … 196 196 bool fVMEntryFailed; 197 197 /** Alignment. */ 198 uint8_t abAlignment1[ 5];198 uint8_t abAlignment1[7]; 199 199 200 200 /** The VM-entry interruption-information field. */
Note:
See TracChangeset
for help on using the changeset viewer.