VirtualBox

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


Ignore:
Timestamp:
Feb 10, 2020 9:33:49 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
136051
Message:

VMM/HMVMXR0: Always use the 64-bit VMX context switcher for 64-bit capable VMs.

File:
1 edited

Legend:

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

    r83025 r83030  
    48564856        /*
    48574857         * VMRUN function.
    4858          * If the guest is in long mode, use the 64-bit guest handler, else the 32-bit guest handler.
     4858         * If the guest supports long mode, always use the 64-bit guest handler, see @bugref{6208#c73}.
    48594859         * The host is always 64-bit since we no longer support 32-bit hosts.
    48604860         */
    4861         if (fGstInLongMode)
    4862         {
    4863 #ifndef VBOX_WITH_64_BITS_GUESTS
    4864             return VERR_PGM_UNSUPPORTED_SHADOW_PAGING_MODE;
    4865 #else
    4866             Assert(pVM->hm.s.fAllow64BitGuests);                              /* Guaranteed by hmR3InitFinalizeR0(). */
     4861        if (pVM->hm.s.fAllow64BitGuests)
    48674862            pVmcsInfo->pfnStartVM = VMXR0StartVM64;
    4868 #endif
    4869         }
    48704863        else
    48714864            pVmcsInfo->pfnStartVM = VMXR0StartVM32;
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