VirtualBox

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


Ignore:
Timestamp:
Oct 21, 2022 12:08:51 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154250
Message:

VMM/CPUM: Nested VMX: bugref:10092 Addressed todo regarding keeping extra memebers in VM::CPUM just for passing on VMX features to cpumR3InitVmxGuestFeaturesAndMsrs.

File:
1 edited

Legend:

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

    r97262 r97264  
    377377    uint32_t                u32UnusedOnNonX86;
    378378#endif
    379     /** Nested VMX: Whether to expose VMX-preemption timer to the guest. */
    380     bool                    fNestedVmxPreemptTimer;
    381     /** Nested VMX: Whether to expose EPT to the guest. If this is disabled make sure
    382      *  to also disable fNestedVmxUnrestrictedGuest. */
    383     bool                    fNestedVmxEpt;
    384     /** Nested VMX: Whether to expose "unrestricted guest" to the guest. */
    385     bool                    fNestedVmxUnrestrictedGuest;
    386     uint8_t                 abPadding1[1];
     379    uint8_t                 abPadding1[4];
    387380
    388381    /** Random value we store in the reserved RFLAGS bits we don't use ourselves so
     
    500493int                 cpumR3DbgInit(PVM pVM);
    501494int                 cpumR3InitCpuIdAndMsrs(PVM pVM, PCCPUMMSRS pHostMsrs);
    502 void                cpumR3InitVmxGuestFeaturesAndMsrs(PVM pVM, PCVMXMSRS pHostVmxMsrs, PVMXMSRS pGuestVmxMsrs);
     495void                cpumR3InitVmxGuestFeaturesAndMsrs(PVM pVM, PCFGMNODE pCpumCfg, PCVMXMSRS pHostVmxMsrs,
     496                                                      PVMXMSRS pGuestVmxMsrs);
    503497void                cpumR3CpuIdRing3InitDone(PVM pVM);
    504498void                cpumR3SaveCpuId(PVM pVM, PSSMHANDLE pSSM);
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