VirtualBox

Changeset 71530 in vbox


Ignore:
Timestamp:
Mar 28, 2018 6:33:19 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121506
Message:

VMM/IEM: Nested hw.virt: MSRPM bit access assertion, fix.

File:
1 edited

Legend:

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

    r71307 r71530  
    10891089     */
    10901090    uint16_t offMsrpm;
    1091     uint32_t uMsrpmBit;
     1091    uint8_t uMsrpmBit;
    10921092    int rc = HMSvmGetMsrpmOffsetAndBit(idMsr, &offMsrpm, &uMsrpmBit);
    10931093    if (RT_SUCCESS(rc))
    10941094    {
    1095         Assert(uMsrpmBit < 0x3fff);
     1095        Assert(uMsrpmBit == 0 || uMsrpmBit == 2 || uMsrpmBit == 4 || uMsrpmBit == 6);
    10961096        Assert(offMsrpm < SVM_MSRPM_PAGES << X86_PAGE_4K_SHIFT);
    10971097        if (fWrite)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette