Changeset 94141 in vbox
- Timestamp:
- Mar 8, 2022 11:04:38 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/HostImpl.cpp
r93515 r94141 1453 1453 bool fSupported = VBoxOglIs3DAccelerationSupported(); 1454 1454 #else 1455 bool fSupported = false; /* shou dn't get here, but just in case. */1455 bool fSupported = false; /* shouldn't get here, but just in case. */ 1456 1456 #endif 1457 1457 AutoWriteLock alock2(this COMMA_LOCKVAL_SRC_POS); … … 1493 1493 hrc = aHostInterface->COMGETTER(NetworkMask)(tmpMask.asOutParam()); 1494 1494 ComAssertComRCRet(hrc, hrc); 1495 1495 1496 /* 1496 1497 * We need to write the default IP address and mask to extra data now, … … 1500 1501 * postpone the change until VM actually starts. 1501 1502 */ 1502 hrc = m->pParent->SetExtraData(BstrFmt("HostOnly/%ls/IPAddress", 1503 tmpName.raw()).raw(), 1504 tmpAddr.raw()); 1503 hrc = m->pParent->SetExtraData(BstrFmt("HostOnly/%ls/IPAddress", tmpName.raw()).raw(), 1504 tmpAddr.raw()); 1505 1505 ComAssertComRCRet(hrc, hrc); 1506 1506 1507 hrc = m->pParent->SetExtraData(BstrFmt("HostOnly/%ls/IPNetMask", 1508 tmpName.raw()).raw(), 1509 tmpMask.raw()); 1507 hrc = m->pParent->SetExtraData(BstrFmt("HostOnly/%ls/IPNetMask", tmpName.raw()).raw(), 1508 tmpMask.raw()); 1510 1509 ComAssertComRCRet(hrc, hrc); 1511 1510 # endif /* !defined(RT_OS_WINDOWS) */
Note:
See TracChangeset
for help on using the changeset viewer.