VirtualBox

Changeset 15648 in vbox for trunk/src


Ignore:
Timestamp:
Dec 18, 2008 12:26:26 PM (16 years ago)
Author:
vboxsync
Message:

HWACCM: query 64bitEnabled for 64-bit hosts too, except default it to 'true' and docuemnt assumption that ConsoleImpl2.cpp doesn't pass it as 'false'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/HWACCM.cpp

    r15623 r15648  
    230230    }
    231231#else
    232     /* We always allow 64 bits guests on 64 bits hosts. */
    233     pVM->hwaccm.s.fAllow64BitGuests = true;
     232    /* On 64-bit hosts 64-bit guest support is enabled by default, but allow this to be overridden
     233     * via VBoxInternal/HWVirtExt/64bitEnabled=0. (ConsoleImpl2.cpp doesn't set this to false for 64-bit.) */
     234    rc = CFGMR3QueryBoolDef(pHWVirtExt, "64bitEnabled", &pVM->hwaccm.s.fAllow64BitGuests, true);
     235    AssertLogRelRCReturn(rc, rc);
    234236#endif
    235237
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