VirtualBox

Changeset 28487 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Apr 19, 2010 5:59:26 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
60282
Message:

ACPI: another attempt to provide primary NIC info via ACPI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r28406 r28487  
    22472247        rc = CFGMR3InsertInteger(pCfg,  "SmcEnabled", fSmcEnabled);                 RC_CHECK();
    22482248        rc = CFGMR3InsertInteger(pCfg,  "ShowRtc",    fExtProfile);                 RC_CHECK();
    2249 
     2249        if (fExtProfile)
     2250        {
     2251            BootNic aNic = llBootNics.front();
     2252            uint32 u32NicPciAddr = (aNic.mPciDev << 16) | aNic.mPciFn;
     2253            rc = CFGMR3InsertInteger(pCfg,  "NicPciAddress",    u32NicPciAddr);     RC_CHECK();
     2254        }
    22502255        rc = CFGMR3InsertInteger(pCfg,  "ShowCpu", fShowCpu);                       RC_CHECK();
    22512256        rc = CFGMR3InsertInteger(pCfg,  "CpuHotPlug", fCpuHotPlug);                 RC_CHECK();
     
    37683773#endif /* !VBOX_WITH_GUEST_CONTROL */
    37693774}
    3770 
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