VirtualBox

Changeset 71118 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 26, 2018 5:55:27 AM (7 years ago)
Author:
vboxsync
Message:

VMM/CPUM: Nested Hw.virt: Expose NRIP and decode-assist SVM features to the guest by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r71108 r71118  
    35703570    {
    35713571        PCPUMCPUIDLEAF pSvmFeatureLeaf = cpumR3CpuIdGetExactLeaf(pCpum, 0x8000000a, 0);
    3572         pSvmFeatureLeaf->uEax = 0x1;
    3573         pSvmFeatureLeaf->uEbx = 0x8000;     /** @todo figure out virtual NASID. */
    3574         pSvmFeatureLeaf->uEcx = 0;
    3575         pSvmFeatureLeaf->uEdx = 0;          /** @todo Support SVM features */
     3572        pSvmFeatureLeaf->uEax  = 0x1;
     3573        pSvmFeatureLeaf->uEbx  = 0x8000;                                        /** @todo figure out virtual NASID. */
     3574        pSvmFeatureLeaf->uEcx  = 0;
     3575        pSvmFeatureLeaf->uEdx &= (  X86_CPUID_SVM_FEATURE_EDX_NRIP_SAVE         /** @todo Support other SVM features */
     3576                                  | X86_CPUID_SVM_FEATURE_EDX_DECODE_ASSISTS);
    35763577    }
    35773578    else
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