- 時間撮記:
- 2016-1-4 下午02:13:22 (9 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r59229 r59248 4294 4294 else 4295 4295 { 4296 InsertConfigString(pLunL0, "Driver", "Block"); 4296 #if 0 /* Enable for I/O debugging */ 4297 InsertConfigNode(pLunL0, "AttachedDriver", &pLunL0); 4298 InsertConfigString(pLunL0, "Driver", "DiskIntegrity"); 4299 InsertConfigNode(pLunL0, "Config", &pCfg); 4300 InsertConfigInteger(pCfg, "CheckConsistency", 0); 4301 InsertConfigInteger(pCfg, "CheckDoubleCompletions", 1); 4302 #endif 4303 4304 InsertConfigString(pLunL0, "Driver", "VD"); 4297 4305 InsertConfigNode(pLunL0, "Config", &pCfg); 4298 4306 switch (enmType) … … 4350 4358 /* Index of last image */ 4351 4359 uImage--; 4352 4353 #if 0 /* Enable for I/O debugging */4354 InsertConfigNode(pLunL0, "AttachedDriver", &pLunL0);4355 InsertConfigString(pLunL0, "Driver", "DiskIntegrity");4356 InsertConfigNode(pLunL0, "Config", &pCfg);4357 InsertConfigInteger(pCfg, "CheckConsistency", 0);4358 InsertConfigInteger(pCfg, "CheckDoubleCompletions", 1);4359 #endif4360 4361 InsertConfigNode(pLunL0, "AttachedDriver", &pLunL1);4362 InsertConfigString(pLunL1, "Driver", "VD");4363 InsertConfigNode(pLunL1, "Config", &pCfg);4364 4360 4365 4361 # ifdef VBOX_WITH_EXTPACK … … 4436 4432 } 4437 4433 4438 switch (enmType)4439 {4440 case DeviceType_DVD:4441 InsertConfigString(pCfg, "Type", "DVD");4442 break;4443 case DeviceType_Floppy:4444 InsertConfigString(pCfg, "Type", "Floppy");4445 break;4446 case DeviceType_HardDisk:4447 default:4448 InsertConfigString(pCfg, "Type", "HardDisk");4449 }4450 4451 4434 if (pcszBwGroup) 4452 4435 InsertConfigString(pCfg, "BwGroup", pcszBwGroup); … … 4500 4483 if (fEncrypted) 4501 4484 m_cDisksEncrypted++; 4485 } 4486 else 4487 { 4488 /* Set empty drive flag for DVD or floppy without media. */ 4489 if ( enmType == DeviceType_DVD 4490 || enmType == DeviceType_Floppy) 4491 InsertConfigInteger(pCfg, "EmptyDrive", 1); 4502 4492 } 4503 4493 }
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器