VirtualBox

Changeset 81239 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Oct 14, 2019 7:11:33 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133933
Message:

VMM/HMVMXR0: Nit.

File:
1 edited

Legend:

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

    r81238 r81239  
    46784678        /*
    46794679         * VMRUN function.
     4680         * If the guest is in long mode, use the 64-bit guest handler, else the 32-bit guest handler.
     4681         * The host is always 64-bit since we no longer support 32-bit hosts.
    46804682         */
    4681         {
    4682             /* If the guest is in long mode, use the 64-bit guest handler, else the 32-bit guest handler.
    4683              * The host is always 64-bit since we no longer support 32-bit hosts.
    4684              */
    4685             if (fGstInLongMode)
    4686             {
     4683        if (fGstInLongMode)
     4684        {
    46874685#ifndef VBOX_WITH_64_BITS_GUESTS
    4688                 return VERR_PGM_UNSUPPORTED_SHADOW_PAGING_MODE;
     4686            return VERR_PGM_UNSUPPORTED_SHADOW_PAGING_MODE;
    46894687#else
    4690                 Assert(pVM->hm.s.fAllow64BitGuests);                          /* Guaranteed by hmR3InitFinalizeR0(). */
    4691                 pVmcsInfo->pfnStartVM = VMXR0StartVM64;
     4688            Assert(pVM->hm.s.fAllow64BitGuests);                              /* Guaranteed by hmR3InitFinalizeR0(). */
     4689            pVmcsInfo->pfnStartVM = VMXR0StartVM64;
    46924690#endif
    4693             }
    4694             else
    4695                 pVmcsInfo->pfnStartVM = VMXR0StartVM32;
    4696         }
     4691        }
     4692        else
     4693            pVmcsInfo->pfnStartVM = VMXR0StartVM32;
    46974694
    46984695        /*
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