VirtualBox

Changeset 81176 in vbox


Ignore:
Timestamp:
Oct 9, 2019 10:25:19 AM (5 years ago)
Author:
vboxsync
Message:

VMM/HM: Make HMIsSvmVGifActive take PCVM rather than PVM for upcoming changes.

Location:
trunk
Files:
2 edited

Legend:

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

    r81002 r81176  
    166166/** @name R0, R3 SVM handlers.
    167167 * @{ */
    168 VMM_INT_DECL(bool)              HMIsSvmVGifActive(PVM pVM);
     168VMM_INT_DECL(bool)              HMIsSvmVGifActive(PCVM pVM);
    169169# ifdef VBOX_WITH_NESTED_HWVIRT_SVM
    170170VMM_INT_DECL(void)              HMNotifySvmNstGstVmexit(PVMCPUCC pVCpu, PCPUMCTX pCtx);
  • trunk/src/VBox/VMM/VMMAll/HMSVMAll.cpp

    r80333 r81176  
    181181 *          to change throughout the lifetime of the VM.
    182182 */
    183 VMM_INT_DECL(bool) HMIsSvmVGifActive(PVM pVM)
     183VMM_INT_DECL(bool) HMIsSvmVGifActive(PCVM pVM)
    184184{
    185185    bool const fVGif    = RT_BOOL(pVM->hm.s.svm.u32Features & X86_CPUID_SVM_FEATURE_EDX_VGIF);
Note: See TracChangeset for help on using the changeset viewer.

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