VirtualBox

Changeset 79315 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Jun 25, 2019 5:32:51 AM (5 years ago)
Author:
vboxsync
Message:

cpum.h: Nested VMX: bugref:9180 Added CPUMIsGuestVmxCurrentVmcsValid for upcoming changes.

File:
1 edited

Legend:

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

    r79194 r79315  
    23552355}
    23562356
     2357/**
     2358 * Returns whether the guest has an active, current VMCS.
     2359 *
     2360 * @returns @c true if the guest has an active, current VMCS, @c false otherwise.
     2361 * @param   pVCpu       The cross context virtual CPU structure of the calling EMT.
     2362 * @param   pCtx        Pointer to the context.
     2363 */
     2364DECLINLINE(bool) CPUMIsGuestVmxCurrentVmcsValid(PCVMCPU pVCpu, PCCPUMCTX pCtx)
     2365{
     2366    RT_NOREF(pVCpu);
     2367    RTGCPHYS const GCPhysVmcs = pCtx->hwvirt.vmx.GCPhysVmcs;
     2368    return RT_BOOL(GCPhysVmcs != NIL_RTGCPHYS);
     2369}
     2370
    23572371# endif /* !IN_RC */
    23582372
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