- 時間撮記:
- 2014-4-8 下午01:15:27 (11 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r50914 r50996 872 872 uint32_t cbMcfgLength = 0; 873 873 874 ParavirtProvider_T paravirtProvider; 875 hrc = pMachine->COMGETTER(ParavirtProvider)(¶virtProvider); H(); 876 874 877 ChipsetType_T chipsetType; 875 878 hrc = pMachine->COMGETTER(ChipsetType)(&chipsetType); H(); … … 1181 1184 InsertConfigInteger(pRoot, "PowerOffInsteadOfReset", 1); 1182 1185 1183 1186 /* 1187 * Paravirt. provider. 1188 */ 1189 PCFGMNODE pParavirtNode; 1190 InsertConfigNode(pRoot, "GIM", &pParavirtNode); 1191 const char *pcszParavirtProvider; 1192 switch (paravirtProvider) 1193 { 1194 case ParavirtProvider_None: 1195 pcszParavirtProvider = "None"; 1196 break; 1197 1198 case ParavirtProvider_Default: /** @todo Choose a provider based on guest OS type. There is no "Default" provider. */ 1199 pcszParavirtProvider = "None"; 1200 break; 1201 1202 case ParavirtProvider_Legacy: 1203 { 1204 if (fOsXGuest) 1205 pcszParavirtProvider = "Minimal"; 1206 else 1207 pcszParavirtProvider = "None"; 1208 break; 1209 } 1210 1211 case ParavirtProvider_Minimal: 1212 pcszParavirtProvider = "Minimal"; 1213 break; 1214 1215 case ParavirtProvider_HyperV: 1216 pcszParavirtProvider = "HyperV"; 1217 break; 1218 1219 default: 1220 AssertMsgFailed(("Invalid paravirtProvider=%d\n", paravirtProvider)); 1221 return VMR3SetError(pUVM, VERR_INVALID_PARAMETER, RT_SRC_POS, N_("Invalid paravirt. provider '%d'"), 1222 paravirtProvider); 1223 } 1224 InsertConfigString(pParavirtNode, "Provider", pcszParavirtProvider); 1184 1225 1185 1226 /*
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器