Changeset 9718 in vbox
- Timestamp:
- Jun 16, 2008 12:35:09 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
-
HWSVMR0.cpp (modified) (2 diffs)
-
HWVMXR0.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r9708 r9718 1713 1713 1714 1714 /* Emulate in ring 3. */ 1715 case SVM_EXIT_MSR: 1716 /* Note: If we decide to emulate them here, then we must sync the MSRs that could have been changed (sysenter, fs/gs base)!!! */ 1717 rc = VERR_EM_INTERPRETER; 1718 break; 1719 1715 1720 case SVM_EXIT_MONITOR: 1716 1721 case SVM_EXIT_RDPMC: … … 1718 1723 case SVM_EXIT_MWAIT_UNCOND: 1719 1724 case SVM_EXIT_MWAIT_ARMED: 1720 case SVM_EXIT_MSR:1721 1725 case SVM_EXIT_TASK_SWITCH: /* can change CR3; emulate */ 1722 1726 rc = VINF_EM_RAW_EXCEPTION_PRIVILEGED; -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r9708 r9718 1519 1519 TRPMSetFaultAddress(pVM, exitQualification); 1520 1520 1521 if (exitQualification == 0x805ce018) 1522 { 1523 rc = VINF_EM_RAW_EMULATE_INSTR; 1524 break; 1525 } 1521 1526 /* Forward it to our trap handler first, in case our shadow pages are out of sync. */ 1522 1527 rc = PGMTrap0eHandler(pVM, errCode, CPUMCTX2CORE(pCtx), (RTGCPTR)exitQualification); … … 1991 1996 case VMX_EXIT_WRMSR: /* 32 WRMSR. Guest software attempted to execute WRMSR. */ 1992 1997 /* Note: If we decide to emulate them here, then we must sync the MSRs that could have been changed (sysenter, fs/gs base)!!! */ 1998 rc = VERR_EM_INTERPRETER; 1999 break; 2000 1993 2001 case VMX_EXIT_RDPMC: /* 15 Guest software attempted to execute RDPMC. */ 1994 2002 case VMX_EXIT_MWAIT: /* 36 Guest software executed MWAIT. */
Note:
See TracChangeset
for help on using the changeset viewer.

