VirtualBox

Changeset 28735 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Apr 26, 2010 9:16:33 AM (15 years ago)
Author:
vboxsync
Message:

FE/Qt: New running VM core: next try to fix vt-x assert (better than r60487).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp

    r28678 r28735  
    522522            return;
    523523
    524         bool bVirtEnabled = console.GetDebugger().GetHWVirtExEnabled();
     524        const CMachineDebugger &debugger = console.GetDebugger();
     525        if (debugger.isNull())
     526            return;
     527
     528        bool bVirtEnabled = debugger.GetHWVirtExEnabled();
    525529        QString virtualization = bVirtEnabled ?
    526530            VBoxGlobal::tr("Enabled", "details report (VT-x/AMD-V)") :
    527531            VBoxGlobal::tr("Disabled", "details report (VT-x/AMD-V)");
    528532
    529         bool bNestEnabled = console.GetDebugger().GetHWVirtExNestedPagingEnabled();
     533        bool bNestEnabled = debugger.GetHWVirtExNestedPagingEnabled();
    530534        QString nestedPaging = bNestEnabled ?
    531535            VBoxGlobal::tr("Enabled", "nested paging") :
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