Changeset 8870 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 16, 2008 8:23:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r8868 r8870 253 253 254 254 /** @todo nested paging */ 255 /* Intercept #NM only; #PF is not relevant due to nested paging (we get a seperate exit code (SVM_EXIT_NPF) for256 * pagefaults that need our attention).257 */258 255 pVMCB->ctrl.u32InterceptException = HWACCM_SVM_TRAP_MASK; 259 256 … … 283 280 | SVM_CTRL2_INTERCEPT_SKINIT 284 281 | SVM_CTRL2_INTERCEPT_RDTSCP /* AMD only; we don't support this one */ 282 | SVM_CTRL2_INTERCEPT_WBINVD 283 | SVM_CTRL2_INTERCEPT_MWAIT_UNCOND; /* don't execute mwait or else we'll idle inside the guest (host thinks the cpu load is high) */ 285 284 ; 286 285 Log(("pVMCB->ctrl.u32InterceptException = %x\n", pVMCB->ctrl.u32InterceptException)); … … 1202 1201 break; 1203 1202 1203 case SVM_EXIT_WBINVD: 1204 1204 case SVM_EXIT_INVD: /* Guest software attempted to execute INVD. */ 1205 1205 STAM_COUNTER_INC(&pVM->hwaccm.s.StatExitInvd); … … 1494 1494 break; 1495 1495 1496 case SVM_EXIT_RDPMC:1497 1496 case SVM_EXIT_RSM: 1498 1497 case SVM_EXIT_INVLPGA: … … 1521 1520 } 1522 1521 1523 /* Emulate RDMSR & WRMSR in ring 3. */ 1522 /* Emulate in ring 3. */ 1523 case SVM_EXIT_MONITOR: 1524 case SVM_EXIT_RDPMC: 1525 case SVM_EXIT_PAUSE: 1526 case SVM_EXIT_MWAIT_UNCOND: 1527 case SVM_EXIT_MWAIT_ARMED: 1524 1528 case SVM_EXIT_MSR: 1525 1529 rc = VINF_EM_RAW_EXCEPTION_PRIVILEGED; … … 1534 1538 break; 1535 1539 1536 case SVM_EXIT_PAUSE:1537 1540 case SVM_EXIT_IDTR_READ: 1538 1541 case SVM_EXIT_GDTR_READ:
Note:
See TracChangeset
for help on using the changeset viewer.