VirtualBox

Changeset 8941 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
May 20, 2008 8:36:47 AM (17 years ago)
Author:
vboxsync
Message:

Intercept task switches as well. (they can change CR3)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r8914 r8941  
    285285                                    | SVM_CTRL1_INTERCEPT_INVLPG
    286286                                    | SVM_CTRL1_INTERCEPT_INVLPGA       /* AMD only */
     287                                    | SVM_CTRL1_INTERCEPT_TASK_SWITCH
    287288                                    | SVM_CTRL1_INTERCEPT_SHUTDOWN      /* fatal */
    288289                                    | SVM_CTRL1_INTERCEPT_FERR_FREEZE;  /* Legacy FPU FERR handling. */
     
    15741575    case SVM_EXIT_MWAIT_ARMED:
    15751576    case SVM_EXIT_MSR:
     1577    case SVM_EXIT_TASK_SWITCH:  /* can change CR3; emulate */
    15761578        rc = VINF_EM_RAW_EXCEPTION_PRIVILEGED;
    15771579        break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette