Changeset 61743 in vbox
- Timestamp:
- Jun 17, 2016 1:32:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r61728 r61743 11389 11389 { 11390 11390 HMVMX_VALIDATE_EXIT_HANDLER_PARAMS(); 11391 int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx); /** @todo review if CR4 is really required by EM. */11391 int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx); 11392 11392 AssertRCReturn(rc, rc); 11393 11393 … … 11415 11415 { 11416 11416 HMVMX_VALIDATE_EXIT_HANDLER_PARAMS(); 11417 int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx); /** @todo review if CR4 is really required by EM. */11417 int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx); 11418 11418 rc |= hmR0VmxSaveGuestAutoLoadStoreMsrs(pVCpu, pMixedCtx); /* For MSR_K8_TSC_AUX */ 11419 11419 AssertRCReturn(rc, rc); … … 11445 11445 { 11446 11446 HMVMX_VALIDATE_EXIT_HANDLER_PARAMS(); 11447 int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx); /** @todo review if CR4 is really required by EM. */11448 rc |= hmR0VmxSaveGuestCR0(pVCpu, pMixedCtx); /** @todo review if CR0 is really required by EM. */11447 int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx); 11448 rc |= hmR0VmxSaveGuestCR0(pVCpu, pMixedCtx); 11449 11449 AssertRCReturn(rc, rc); 11450 11450 … … 12524 12524 } 12525 12525 12526 /** @todo Emulate task switch someday, currently just going back to ring-3 for 12527 * emulation. */ 12526 /* Fall back to the interpreter to emulate the task-switch. */ 12528 12527 STAM_COUNTER_INC(&pVCpu->hm.s.StatExitTaskSwitch); 12529 12528 return VERR_EM_INTERPRETER; … … 13486 13485 | HM_CHANGED_VMX_GUEST_APIC_STATE); 13487 13486 #else 13488 /* This is typically a shadow page table sync or a MMIO instruction. But we13489 * may have emulated something like LTR or a far jump. Any part of the CPU13490 * context may have changed.13487 /* 13488 * This is typically a shadow page table sync or a MMIO instruction. But we may have 13489 * emulated something like LTR or a far jump. Any part of the CPU context may have changed. 13491 13490 */ 13492 13491 /** @todo take advantage of CPUM changed flags instead of brute forcing. */
Note:
See TracChangeset
for help on using the changeset viewer.