VirtualBox

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


Ignore:
Timestamp:
Aug 5, 2009 9:27:37 AM (16 years ago)
Author:
vboxsync
Message:

Skip faulting wrmsr for TPR updates.

File:
1 edited

Legend:

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

    r21971 r21972  
    23472347            &&  (pCtx->eax & 0xff) != u8LastTPR)
    23482348        {
     2349            Log(("SVM: Faulting MSR_K8_LSTAR write with new TPR value %x\n", pCtx->eax & 0xff));
     2350
    23492351            /* Our patch code uses LSTAR for TPR caching. */
    23502352            rc = PDMApicSetTPR(pVCpu, pCtx->eax & 0xff);
    23512353            AssertRC(rc);
     2354
     2355            /* Skip the instruction and continue. */
     2356            pCtx->rip += 2;     /* wrmsr = [0F 30] */
     2357
     2358            /* Only resume if successful. */
     2359            STAM_PROFILE_ADV_STOP(&pVCpu->hwaccm.s.StatExit1, x);
     2360            goto ResumeExecution;
    23522361        }
    23532362
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