Changeset 19165 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 24, 2009 11:36:51 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 46449
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r18838 r19165 1531 1531 !ea.strAdapterType.compare("E10000", Utf8Str::CaseInsensitive)) // VMWare accidentally write this with VirtualCenter 3.5 1532 1532 { 1533 /* If the default adapter is already one of the three 1534 * E1000 adapters use the default one. If not use the 1535 * I82545EM as fallback. */ 1536 // if (!(defaultAdapterVBox == NetworkAdapterType_I82540EM || 1537 // defaultAdapterVBox == NetworkAdapterType_I82543GC || 1538 // defaultAdapterVBox == NetworkAdapterType_I82545EM)) 1539 // always use this one since it's what VMware uses 1540 nwAdapterVBox = NetworkAdapterType_I82545EM; 1533 /* Check if this OVF was written by VirtualBox */ 1534 if (vsysThis.strVirtualSystemType.contains("virtualbox", Utf8Str::CaseInsensitive)) 1535 { 1536 /* If the default adapter is already one of the three 1537 * E1000 adapters use the default one. If not use the 1538 * I82545EM as fallback. */ 1539 if (!(defaultAdapterVBox == NetworkAdapterType_I82540EM || 1540 defaultAdapterVBox == NetworkAdapterType_I82543GC || 1541 defaultAdapterVBox == NetworkAdapterType_I82545EM)) 1542 nwAdapterVBox = NetworkAdapterType_I82540EM; 1543 } 1544 else 1545 /* Always use this one since it's what VMware uses */ 1546 nwAdapterVBox = NetworkAdapterType_I82545EM; 1541 1547 } 1542 1548 #endif /* VBOX_WITH_E1000 */
Note:
See TracChangeset
for help on using the changeset viewer.