VirtualBox

Changeset 92470 in vbox for trunk/include


Ignore:
Timestamp:
Nov 17, 2021 9:46:08 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148329
Message:

VMM: Nested VMX: bugref:10092 Added PGMSLATFAIL for distinguishing various EPT page walk failure types. Will be extensible if page-modification logging is implemented.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pgm.h

    r92426 r92470  
    276276
    277277/**
    278  * Second level address translation mode.
     278 * Second level address translation (SLAT) mode.
    279279 */
    280280typedef enum PGMSLAT
     
    296296} PGMSLAT;
    297297
     298/**
     299 * SLAT page walk failure type.
     300 */
     301typedef enum PGMSLATFAIL
     302{
     303    /** Invalid value. */
     304    PGMSLATFAIL_INVALID = 0,
     305    /** EPT violation. */
     306    PGMSLATFAIL_EPT_VIOLATION,
     307    /** EPT violation convertible to \#VE exception. */
     308    PGMSLATFAIL_EPT_VIOLATION_CONVERTIBLE,
     309    /** EPT misconfiguration. */
     310    PGMSLATFAIL_EPT_MISCONFIG,
     311    /** 32bit hackishness. */
     312    PGMSLATFAIL_32BIT_HACK = 0x7fffffff
     313} PGMSLATFAIL;
    298314
    299315/** @name PGMPTATTRS - PGM page-table attributes.
     
    507523    /** Set if it involves a gigantic page (1 GB). */
    508524    bool            fGigantPage;
    509     /** Set if the second-level fault was caused by an EPT misconfiguration. */
    510     bool            fEptMisconfig;
    511     bool            afPadding[6];
     525    bool            afPadding[3];
     526    /** The type of SLAT failure. */
     527    PGMSLATFAIL     enmSlatFail;
    512528
    513529    /** The effective attributes, PGM_PTATTRS_XXX. */
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