- Timestamp:
- Apr 15, 2013 8:09:57 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85046
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r45557 r45558 4965 4965 * guest-CPU context. 4966 4966 */ 4967 static int hmR0VmxSaveGuest Gprs(PVMCPU pVCpu, PCPUMCTX pMixedCtx)4967 static int hmR0VmxSaveGuestRipRspRflags(PVMCPU pVCpu, PCPUMCTX pMixedCtx) 4968 4968 { 4969 4969 int rc = hmR0VmxSaveGuestRip(pVCpu, pMixedCtx); … … 5434 5434 VMMRZCallRing3Disable(pVCpu); 5435 5435 5436 int rc = hmR0VmxSaveGuest Gprs(pVCpu, pMixedCtx);5437 AssertLogRelMsgRCReturn(rc, ("hmR0VmxSaveGuest Gprs failed! rc=%Rrc (pVCpu=%p)\n", rc, pVCpu), rc);5436 int rc = hmR0VmxSaveGuestRipRspRflags(pVCpu, pMixedCtx); 5437 AssertLogRelMsgRCReturn(rc, ("hmR0VmxSaveGuestRipRspRflags failed! rc=%Rrc (pVCpu=%p)\n", rc, pVCpu), rc); 5438 5438 5439 5439 rc = hmR0VmxSaveGuestControlRegs(pVCpu, pMixedCtx); … … 6197 6197 /* Save the required guest state bits from the VMCS. */ 6198 6198 rc = hmR0VmxSaveGuestSegmentRegs(pVCpu, pMixedCtx); 6199 rc |= hmR0VmxSaveGuest Gprs(pVCpu, pMixedCtx);6199 rc |= hmR0VmxSaveGuestRipRspRflags(pVCpu, pMixedCtx); 6200 6200 AssertRCReturn(rc, rc); 6201 6201 … … 7772 7772 rc = hmR0VmxSaveGuestState(pVCpu, pMixedCtx); 7773 7773 #else 7774 rc = hmR0VmxSaveGuest Gprs(pVCpu, pMixedCtx);7774 rc = hmR0VmxSaveGuestRipRspRflags(pVCpu, pMixedCtx); 7775 7775 rc |= hmR0VmxSaveGuestControlRegs(pVCpu, pMixedCtx); 7776 7776 rc |= hmR0VmxSaveGuestSegmentRegs(pVCpu, pMixedCtx); … … 8134 8134 #else 8135 8135 /* Aggressive state sync. for now. */ 8136 rc = hmR0VmxSaveGuest Gprs(pVCpu, pMixedCtx);8136 rc = hmR0VmxSaveGuestRipRspRflags(pVCpu, pMixedCtx); 8137 8137 rc |= hmR0VmxSaveGuestControlRegs(pVCpu, pMixedCtx); 8138 8138 rc |= hmR0VmxSaveGuestSegmentRegs(pVCpu, pMixedCtx); … … 8289 8289 #else 8290 8290 /* Aggressive state sync. for now. */ 8291 rc |= hmR0VmxSaveGuest Gprs(pVCpu, pMixedCtx);8291 rc |= hmR0VmxSaveGuestRipRspRflags(pVCpu, pMixedCtx); 8292 8292 rc |= hmR0VmxSaveGuestControlRegs(pVCpu, pMixedCtx); 8293 8293 rc |= hmR0VmxSaveGuestSegmentRegs(pVCpu, pMixedCtx); … … 8341 8341 #else 8342 8342 /* Aggressive state sync. for now. */ 8343 rc |= hmR0VmxSaveGuest Gprs(pVCpu, pMixedCtx);8343 rc |= hmR0VmxSaveGuestRipRspRflags(pVCpu, pMixedCtx); 8344 8344 rc |= hmR0VmxSaveGuestControlRegs(pVCpu, pMixedCtx); 8345 8345 rc |= hmR0VmxSaveGuestSegmentRegs(pVCpu, pMixedCtx);
Note:
See TracChangeset
for help on using the changeset viewer.