VirtualBox

Changeset 98644 in vbox for trunk/include


Ignore:
Timestamp:
Feb 20, 2023 12:05:56 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155944
Message:

VMM,SUPLib: Adjustments for running tstPDMQueue in driverless mode on hardened windows builds. This adds a fFlags parameter to VMR3Create and defines VMCREATE_F_DRIVERLESS, allowing it to switch between default and driverless suplib initialization. The default CFGM config constructor was amended to enable the IEM fallback option by default (only relevant to amd64/x86).

File:
1 edited

Legend:

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

    r98267 r98644  
    384384
    385385
    386 VMMR3DECL(int)          VMR3Create(uint32_t cCpus, PCVMM2USERMETHODS pVm2UserCbs,
     386VMMR3DECL(int)          VMR3Create(uint32_t cCpus, PCVMM2USERMETHODS pVm2UserCbs, uint64_t fFlags,
    387387                                   PFNVMATERROR pfnVMAtError, void *pvUserVM,
    388388                                   PFNCFGMCONSTRUCTOR pfnCFGMConstructor, void *pvUserCFGM,
    389389                                   PVM *ppVM, PUVM *ppUVM);
     390/** @name VMCREATE_F_XXX - VMR3Create flags.
     391 * @{ */
     392/** Create the VM with SUPLib in driverless mode. */
     393#define VMCREATE_F_DRIVERLESS       RT_BIT_64(0)
     394/** @} */
    390395VMMR3DECL(int)          VMR3PowerOn(PUVM pUVM);
    391396VMMR3DECL(int)          VMR3Suspend(PUVM pUVM, VMSUSPENDREASON enmReason);
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