- 時間撮記:
- 2014-2-24 下午02:07:49 (11 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r50094 r50556 1292 1292 PCFGMNODE pBiosCfg = NULL; /* /Devices/pcbios/0/Config/ */ 1293 1293 PCFGMNODE pNetBootCfg = NULL; /* /Devices/pcbios/0/Config/NetBoot/ */ 1294 bool fHaveBiosScsiConfig = false; 1294 1295 1295 1296 InsertConfigNode(pRoot, "Devices", &pDevices); … … 1955 1956 InsertConfigInteger(pCfg, "Bootable", fBootable); 1956 1957 1957 if (pBiosCfg) 1958 /* BIOS configuration values, first controller only. */ 1959 if (!pBusMgr->hasPCIDevice("lsilogicscsi", 1) && pBiosCfg) 1958 1960 { 1959 InsertConfigString(pBiosCfg, "ScsiHardDiskDevice", "lsilogicscsi"); 1961 if (!fHaveBiosScsiConfig) 1962 { 1963 fHaveBiosScsiConfig = true; 1964 InsertConfigString(pBiosCfg, "ScsiHardDiskDevice", "lsilogicscsi"); 1965 1966 hrc = SetBiosDiskInfo(pMachine, pCfg, pBiosCfg, controllerName, apszBiosConfigScsi); H(); 1967 } 1960 1968 } 1961 1962 hrc = SetBiosDiskInfo(pMachine, pCfg, pBiosCfg, controllerName, apszBiosConfigScsi); H();1963 1969 1964 1970 /* Attach the status driver */ … … 1976 1982 InsertConfigInteger(pCfg, "Bootable", fBootable); 1977 1983 1978 if (pBiosCfg) 1984 /* BIOS configuration values, first controller only. */ 1985 if (!pBusMgr->hasPCIDevice("buslogic", 1) && pBiosCfg) 1979 1986 { 1980 InsertConfigString(pBiosCfg, "ScsiHardDiskDevice", "buslogic"); 1987 if (!fHaveBiosScsiConfig) 1988 { 1989 fHaveBiosScsiConfig = true; 1990 InsertConfigString(pBiosCfg, "ScsiHardDiskDevice", "buslogic"); 1991 1992 hrc = SetBiosDiskInfo(pMachine, pCfg, pBiosCfg, controllerName, apszBiosConfigScsi); H(); 1993 } 1981 1994 } 1982 1983 hrc = SetBiosDiskInfo(pMachine, pCfg, pBiosCfg, controllerName, apszBiosConfigScsi); H();1984 1995 1985 1996 /* Attach the status driver */ … … 2067 2078 InsertConfigInteger(pCfg, "Bootable", fBootable); 2068 2079 2069 if (pBiosCfg) 2080 /* BIOS configuration values, first controller only. */ 2081 if (!pBusMgr->hasPCIDevice("lsilogicsas", 1) && pBiosCfg) 2070 2082 { 2071 InsertConfigString(pBiosCfg, "ScsiHardDiskDevice", "lsilogicsas"); 2083 if (!fHaveBiosScsiConfig) 2084 { 2085 fHaveBiosScsiConfig = true; 2086 InsertConfigString(pBiosCfg, "ScsiHardDiskDevice", "lsilogicsas"); 2087 2088 hrc = SetBiosDiskInfo(pMachine, pCfg, pBiosCfg, controllerName, apszBiosConfigScsi); H(); 2089 } 2072 2090 } 2073 2074 hrc = SetBiosDiskInfo(pMachine, pCfg, pBiosCfg, controllerName, apszBiosConfigScsi); H();2075 2091 2076 2092 ULONG cPorts = 0;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器