Changeset 52004 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Jul 12, 2014 7:37:31 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94938
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r51899 r52004 67 67 #include <VBox/vmm/pdmapi.h> /* For PDMR3DriverAttach/PDMR3DriverDetach. */ 68 68 #include <VBox/vmm/pdmusb.h> /* For PDMR3UsbCreateEmulatedDevice. */ 69 #include <VBox/vmm/gim.h> /* For GIMOSID. */ 69 70 #include <VBox/version.h> 70 71 #include <VBox/HostServices/VBoxClipboardSvc.h> … … 1170 1171 fGimDeviceNeeded = false; 1171 1172 } 1173 #if 0 /* Activate this soon. */ 1174 else if ( osTypeId == "Windows7" 1175 || osTypeId == "Windows7_64" 1176 || osTypeId == "Windows8" 1177 || osTypeId == "Windows8_64" 1178 || osTypeId == "Windows81" 1179 || osTypeId == "Windows81_64") 1180 { 1181 pcszParavirtProvider = "HyperV"; 1182 } 1183 #endif 1172 1184 else 1173 1185 { 1174 /** @todo Choose a provider based on guest OS type. There is no "Default" provider. */1175 1186 pcszParavirtProvider = "None"; 1176 1187 fGimDeviceNeeded = false; … … 1203 1214 } 1204 1215 InsertConfigString(pParavirtNode, "Provider", pcszParavirtProvider); 1216 1217 if ( !RTStrCmp(pcszParavirtProvider, "Minimal") 1218 && fOsXGuest) 1219 { 1220 GIMOSID enmOsId = GIMOSID_OSX; 1221 if (osTypeId == "MacOS_64") 1222 enmOsId = GIMOSID_OSX_64; 1223 else if (osTypeId == "MacOS106") 1224 enmOsId = GIMOSID_OSX_106; 1225 else if (osTypeId == "MacOS106_64") 1226 enmOsId = GIMOSID_OSX_106_64; 1227 else if (osTypeId == "MacOS107") 1228 enmOsId = GIMOSID_OSX_107; 1229 else if (osTypeId == "MacOS107_64") 1230 enmOsId = GIMOSID_OSX_107_64; 1231 else if (osTypeId == "MacOS108") 1232 enmOsId = GIMOSID_OSX_108; 1233 else if (osTypeId == "MacOS108_64") 1234 enmOsId = GIMOSID_OSX_108_64; 1235 1236 InsertConfigInteger(pParavirtNode, "GuestOsId", enmOsId); 1237 } 1238 1205 1239 1206 1240 /*
Note:
See TracChangeset
for help on using the changeset viewer.