VirtualBox

Changeset 9031 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 21, 2008 3:59:28 PM (17 years ago)
Author:
vboxsync
Message:

Init order

File:
1 edited

Legend:

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

    r9027 r9031  
    4747#include <iprt/thread.h>
    4848
     49
     50#define VBOX_WITH_NESTED_PAGING
    4951
    5052/*******************************************************************************
     
    419421            if (rc == VINF_SUCCESS)
    420422            {
    421                 hwaccmr3DisableRawMode(pVM);
    422 
    423423                pVM->fHWACCMEnabled = true;
    424424                pVM->hwaccm.s.vmx.fEnabled = true;
     425                hwaccmr3DisableRawMode(pVM);
     426
    425427                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_SEP);
    426428                LogRel(("HWACCM: VMX enabled!\n"));
     
    500502            if (rc == VINF_SUCCESS)
    501503            {
     504                pVM->fHWACCMEnabled = true;
     505                pVM->hwaccm.s.svm.fEnabled = true;
     506
    502507                hwaccmr3DisableRawMode(pVM);
    503508                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_SEP);
    504 
    505                 pVM->fHWACCMEnabled = true;
    506                 pVM->hwaccm.s.svm.fEnabled = true;
    507509            }
    508510            else
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