VirtualBox

Changeset 26609 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 17, 2010 1:45:33 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57804
Message:

Main, shared f/w: changed DMI passthrough defaults

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevFwCommon.cpp

    r26601 r26609  
    431431
    432432    uint8_t fDmiUseHostInfo;
    433     int rc = CFGMR3QueryU8Def(pCfg, "DmiUseHostInfo", &fDmiUseHostInfo, 1);
     433    int rc = CFGMR3QueryU8Def(pCfg, "DmiUseHostInfo", &fDmiUseHostInfo, 0);
    434434    if (RT_FAILURE (rc))
    435435        return PDMDEV_SET_ERROR(pDevIns, rc,
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r26603 r26609  
    954954        rc = CFGMR3InsertInteger(pCfg,  "UgaHorizontalResolution", u32UgaHorisontal);    RC_CHECK();
    955955        rc = CFGMR3InsertInteger(pCfg,  "UgaVerticalResolution", u32UgaVertical);    RC_CHECK();
     956
     957        /* For OS X guests we'll force passing host's DMI info to the guest */
     958        if (fExtProfile)
     959        {
     960            rc = CFGMR3InsertInteger(pCfg,  "DmiUseHostInfo", 1);  RC_CHECK();
     961        }
    956962    }
    957963
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