VirtualBox

Changeset 107570 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Jan 9, 2025 9:23:18 AM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166643
Message:

VMM/CPUM: Report the host CPU microcode revision number to the guest when on an amd64 host. jiraref:VBP-947

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/CPUMInternal.h

    r107220 r107570  
    106106 * @{ */
    107107/** The current saved state version.
    108  *  @todo When bumping to next version, add CPUMCTX::enmHwVirt to the saved
    109  *        state. */
     108 *  @todo When bumping to next version, add CPUMCTX::enmHwVirt and
     109 *        uMicrocodeRevision to the saved state. */
    110110#define CPUM_SAVED_STATE_VERSION                CPUM_SAVED_STATE_VERSION_HWVIRT_VMX_4
    111111/** The saved state version with u32RestoreProcCtls2 for Nested Microsoft
     
    190190    uint64_t                    uScalableBusFreq;
    191191
     192    /** The microcode revision.
     193     * UINT32_MAX if the one from the CPU database entry is to be used.
     194     * @see /CPUM/GuestMicrocodeRevision in CFGM. */
     195    uint32_t                    uMicrocodeRevision;
     196    uint32_t                    uPadding;
     197
    192198    /** Pointer to the MSR ranges (for compatibility with old hyper heap code). */
    193199    R3PTRTYPE(PCPUMMSRRANGE)    paMsrRangesR3;
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