VirtualBox

Changeset 73754 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Aug 18, 2018 4:48:52 AM (6 years ago)
Author:
vboxsync
Message:

VMM/HVMXMR0: const nit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r73753 r73754  
    27582758
    27592759    /* At least verify VMX is enabled, since we can't check if we're in VMX root mode without #GP'ing. */
    2760     RTCCUINTREG uHostCR4 = ASMGetCR4();
     2760    RTCCUINTREG const uHostCR4 = ASMGetCR4();
    27612761    if (RT_UNLIKELY(!(uHostCR4 & X86_CR4_VMXE)))
    27622762        return VERR_VMX_NOT_IN_VMX_ROOT_MODE;
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