VirtualBox

Changeset 10692 in vbox


Ignore:
Timestamp:
Jul 16, 2008 11:13:10 AM (16 years ago)
Author:
vboxsync
Message:

Cleaned up

File:
1 edited

Legend:

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

    r10691 r10692  
    9393    if (VBOX_FAILURE(rc))
    9494        return rc;
    95 
    96     /* Check CFGM option. */
    97     rc = CFGMR3QueryBool(CFGMR3GetRoot(pVM), "EnableNestedPaging", &pVM->hwaccm.s.fAllowNestedPaging);
    98     if (VBOX_FAILURE(rc))
    99         pVM->hwaccm.s.fAllowNestedPaging = true;    /* enabled by default now. */
    10095
    10196    /* Misc initialisation. */
     
    190185    /* Disabled by default. */
    191186    pVM->fHWACCMEnabled = false;
     187
     188    /* Check CFGM options. */
     189    rc = CFGMR3QueryBool(CFGMR3GetRoot(pVM), "EnableNestedPaging", &pVM->hwaccm.s.fAllowNestedPaging);
     190    if (VBOX_FAILURE(rc))
     191        pVM->hwaccm.s.fAllowNestedPaging = true;    /* enabled by default now. */
    192192
    193193    /* HWACCM support must be explicitely enabled in the configuration file. */
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