VirtualBox

Changeset 101060 in vbox


Ignore:
Timestamp:
Sep 8, 2023 7:59:48 AM (15 months ago)
Author:
vboxsync
Message:

VMM: Nested VMX: bugref:10318 VMX PAT MSR checking nit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/VMXAllTemplate.cpp.h

    r100244 r101060  
    54705470            {
    54715471                uint8_t u8Val = (u64Val & 0xff);
    5472                 if (   u8Val != 0 /* UC */
    5473                     && u8Val != 1 /* WC */
    5474                     && u8Val != 4 /* WT */
    5475                     && u8Val != 5 /* WP */
    5476                     && u8Val != 6 /* WB */
    5477                     && u8Val != 7 /* UC- */)
     5472                if (   u8Val > MSR_IA32_PAT_MT_UCD
     5473                    || u8Val == MSR_IA32_PAT_MT_RSVD_2
     5474                    || u8Val == MSR_IA32_PAT_MT_RSVD_3)
    54785475                    HMVMX_ERROR_BREAK(VMX_IGS_PAT_MSR_INVALID);
    54795476                u64Val >>= 8;
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