儲存庫 vbox 的更動 16585
- 時間撮記:
- 2009-2-9 下午01:38:40 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp
r15256 r16585 1663 1663 if (g_pszHdaFile) 1664 1664 { 1665 const char *szDriver;1666 if (0 == strcmp(RTPathExt(g_pszHdaFile), ".vdi"))1667 szDriver = "VBoxHDD"; /* .vdi */1668 else1669 szDriver = "VD"; /* .vmdk */1670 1671 1665 rc = CFGMR3InsertNode(pInst, "LUN#0", &pLunL0); UPDATE_RC(); 1672 1666 rc = CFGMR3InsertString(pLunL0, "Driver", "Block"); UPDATE_RC(); … … 1676 1670 1677 1671 rc = CFGMR3InsertNode(pLunL0, "AttachedDriver", &pDrv); UPDATE_RC(); 1678 rc = CFGMR3InsertString(pDrv, "Driver", szDriver);UPDATE_RC();1672 rc = CFGMR3InsertString(pDrv, "Driver", "VD"); UPDATE_RC(); 1679 1673 rc = CFGMR3InsertNode(pDrv, "Config", &pCfg); UPDATE_RC(); 1680 1674 rc = CFGMR3InsertString(pCfg, "Path", g_pszHdaFile); UPDATE_RC(); … … 1688 1682 if (g_pszHdbFile) 1689 1683 { 1690 const char *szDriver;1691 if (0 == strcmp(RTPathExt(g_pszHdbFile), ".vdi"))1692 szDriver = "VBoxHDD"; /* .vdi */1693 else1694 szDriver = "VD"; /* .vmdk */1695 1696 1684 rc = CFGMR3InsertNode(pInst, "LUN#1", &pLunL1); UPDATE_RC(); 1697 1685 rc = CFGMR3InsertString(pLunL1, "Driver", "Block"); UPDATE_RC(); … … 1701 1689 1702 1690 rc = CFGMR3InsertNode(pLunL1, "AttachedDriver", &pDrv); UPDATE_RC(); 1703 rc = CFGMR3InsertString(pDrv, "Driver", szDriver);UPDATE_RC();1691 rc = CFGMR3InsertString(pDrv, "Driver", "VD"); UPDATE_RC(); 1704 1692 rc = CFGMR3InsertNode(pDrv, "Config", &pCfg); UPDATE_RC(); 1705 1693 rc = CFGMR3InsertString(pCfg, "Path", g_pszHdbFile); UPDATE_RC();
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器