VirtualBox

Changeset 41302 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
May 15, 2012 10:03:37 AM (13 years ago)
Author:
vboxsync
Message:

SVM: Do not intercept task switches with nested paging.

File:
1 edited

Legend:

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

    r41282 r41302  
    340340                                        | SVM_CTRL1_INTERCEPT_FERR_FREEZE;  /* Legacy FPU FERR handling. */
    341341                                        ;
    342         /* With nested paging we don't care about invlpg anymore. */
     342        /* With nested paging we don't care about invlpg or task switches anymore. */
    343343        if (pVM->hwaccm.s.fNestedPaging)
    344             pVMCB->ctrl.u32InterceptCtrl1 &= ~SVM_CTRL1_INTERCEPT_INVLPG;
     344            pVMCB->ctrl.u32InterceptCtrl1 &= ~(SVM_CTRL1_INTERCEPT_INVLPG | SVM_CTRL1_INTERCEPT_TASK_SWITCH);
    345345
    346346        pVMCB->ctrl.u32InterceptCtrl2 =   SVM_CTRL2_INTERCEPT_VMRUN         /* required */
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