VirtualBox

Changeset 38555 in vbox


Ignore:
Timestamp:
Aug 29, 2011 9:58:54 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73713
Message:

Show EHCI state with showvminfo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp

    r38529 r38555  
    15931593    {
    15941594        BOOL fEnabled;
     1595        BOOL fEhciEnabled;
    15951596        rc = USBCtl->COMGETTER(Enabled)(&fEnabled);
    15961597        if (FAILED(rc))
     
    16001601        else
    16011602            RTPrintf("USB:             %s\n", fEnabled ? "enabled" : "disabled");
     1603
     1604        rc = USBCtl->COMGETTER(EnabledEhci)(&fEhciEnabled);
     1605        if (FAILED(rc))
     1606            fEhciEnabled = false;
     1607        if (details == VMINFO_MACHINEREADABLE)
     1608            RTPrintf("ehci=\"%s\"\n", fEhciEnabled ? "on" : "off");
     1609        else
     1610            RTPrintf("EHCI:            %s\n", fEhciEnabled ? "enabled" : "disabled");
    16021611
    16031612        SafeIfaceArray <IUSBDeviceFilter> Coll;
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