VirtualBox

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


Ignore:
Timestamp:
Jan 16, 2009 10:50:47 AM (16 years ago)
Author:
vboxsync
Message:

Restore previous EFER state while checking for SVM presence.

File:
1 edited

Legend:

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

    r15797 r15988  
    541541            val = ASMRdMsr(MSR_K6_EFER);
    542542            if (val & MSR_K6_EFER_SVME)
     543            {
     544                /* Restore previous value. */
     545                ASMWrMsr(MSR_K6_EFER, val);
    543546                paRc[idCpu] = VINF_SUCCESS;
     547            }
    544548            else
    545549                paRc[idCpu] = VERR_SVM_ILLEGAL_EFER_MSR;
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