VirtualBox

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


Ignore:
Timestamp:
Dec 21, 2015 2:42:14 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104823
Message:

FE/Qt: ​​​bugref:6478: Runtime UI: UI Session: Indicators-pool: Session-Information window: Caching the VM's effective paravirtualization provider in GUI.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
4 edited

Legend:

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

    r59196 r59200  
    671671                                                 VBoxGlobal::tr("Active", "details report (Unrestricted Execution)") :
    672672                                                 VBoxGlobal::tr("Inactive", "details report (Unrestricted Execution)");
    673         const QString strParavirtProvider = gpConverter->toString(m.GetEffectiveParavirtProvider());
     673        const QString strParavirtProvider = gpConverter->toString(m_pMachineWindow->uisession()->paraVirtProvider());
    674674
    675675        /* Guest information: */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp

    r59196 r59200  
    850850
    851851        /* Paravirtualization feature: */
    852         const QString strParavirt = gpConverter->toString(machine.GetEffectiveParavirtProvider());
     852        const QString strParavirt = gpConverter->toString(m_pSession->paraVirtProvider());
    853853
    854854        /* Prepare tool-tip: */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r59196 r59200  
    958958    , m_fIsHWVirtExNestedPagingEnabled(false)
    959959    , m_fIsHWVirtExUXEnabled(false)
     960    /* VM's effective paravirtualization provider: */
     961    , m_paraVirtProvider(KParavirtProvider_None)
    960962{
    961963}
     
    19541956    /* Load whether the VM is currently making use of the unrestricted execution feature of VT-x: */
    19551957    m_fIsHWVirtExUXEnabled = m_debugger.GetHWVirtExUXEnabled();
     1958    /* Load VM's effective paravirtualization provider: */
     1959    m_paraVirtProvider = m_machine.GetEffectiveParavirtProvider();
    19561960}
    19571961
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.h

    r59196 r59200  
    263263    bool isHWVirtExUXEnabled() const { return m_fIsHWVirtExUXEnabled; }
    264264    /** @} */
     265
     266    /** Returns VM's effective paravirtualization provider. */
     267    KParavirtProvider paraVirtProvider() const { return m_paraVirtProvider; }
    265268
    266269signals:
     
    535538    /** @} */
    536539
     540    /** Holds VM's effective paravirtualization provider. */
     541    KParavirtProvider m_paraVirtProvider;
     542
    537543    /* Friend classes: */
    538544    friend class UIConsoleEventHandler;
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