VirtualBox

Changeset 45554 in vbox


Ignore:
Timestamp:
Apr 15, 2013 3:11:14 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85040
Message:

ConsoleImpl2.cpp: Treat the 64-bit guest type the same way on 32-bit and 64-bit hosts, i.e. only enable 64-bit when 64-bit guest type is selected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r45553 r45554  
    956956        {
    957957            /* Indicate whether 64-bit guests are supported or not. */
    958             /** @todo This is currently only forced off on 32-bit hosts only because it
    959              *        makes a lof of difference there (REM and Solaris performance). */
    960             if (fIsGuest64Bit)
    961             {
    962                 InsertConfigInteger(pHWVirtExt, "64bitEnabled", 1);
     958            InsertConfigInteger(pHWVirtExt, "64bitEnabled", fIsGuest64Bit);
    963959#if ARCH_BITS == 32 /* The recompiler must use VBoxREM64 (32-bit host only). */
    964                 PCFGMNODE pREM;
    965                 InsertConfigNode(pRoot, "REM", &pREM);
    966                 InsertConfigInteger(pREM, "64bitEnabled", 1);
    967 #endif
    968             }
    969 #if ARCH_BITS == 32 /* 32-bit guests only. */
    970             else
    971                 InsertConfigInteger(pHWVirtExt, "64bitEnabled", 0);
     960            PCFGMNODE pREM;
     961            InsertConfigNode(pRoot, "REM", &pREM);
     962            InsertConfigInteger(pREM, "64bitEnabled", 1);
    972963#endif
    973964
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