VirtualBox

Changeset 35885 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Feb 8, 2011 1:20:04 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69897
Message:

Main, VMM, vboxshell: more PCI work (persistent settings, logging, more driver API), API consumer in vboxshell

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r35875 r35885  
    17341734    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    17351735
    1736     mBusMgr->listAttachedPciDevices(ComSafeArrayOutArg(aAttachments));
     1736    if (mBusMgr)
     1737        mBusMgr->listAttachedPciDevices(ComSafeArrayOutArg(aAttachments));
     1738    else
     1739    {
     1740        com::SafeIfaceArray<IPciDeviceAttachment> result(0);
     1741        result.detachTo(ComSafeArrayOutArg(aAttachments));           
     1742    }
    17371743
    17381744    return S_OK;
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