儲存庫 vbox 的更動 49769
- 時間撮記:
- 2013-12-4 上午10:27:18 (11 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r49625 r49769 967 967 * Hardware virtualization extensions. 968 968 */ 969 BOOL fSupportsHwVirtEx; 970 hrc = host->GetProcessorFeature(ProcessorFeature_HWVirtEx, &fSupportsHwVirtEx); H(); 971 969 972 BOOL fIsGuest64Bit; 970 973 hrc = pMachine->GetCPUProperty(CPUPropertyType_LongMode, &fIsGuest64Bit); H(); 971 BOOL fSupportsLongMode; 972 hrc = host->GetProcessorFeature(ProcessorFeature_LongMode, &fSupportsLongMode); H(); 973 if (!fSupportsLongMode && fIsGuest64Bit) 974 { 975 LogRel(("WARNING! 64-bit guest type selected but the host CPU does NOT support 64-bit.\n")); 976 fIsGuest64Bit = FALSE; 974 if (fIsGuest64Bit) 975 { 976 BOOL fSupportsLongMode; 977 hrc = host->GetProcessorFeature(ProcessorFeature_LongMode, &fSupportsLongMode); H(); 978 if (!fSupportsLongMode) 979 { 980 LogRel(("WARNING! 64-bit guest type selected but the host CPU does NOT support 64-bit.\n")); 981 fIsGuest64Bit = FALSE; 982 } 983 if (!fSupportsHwVirtEx) 984 { 985 LogRel(("WARNING! 64-bit guest type selected but the host CPU does NOT support HW virtualization.\n")); 986 fIsGuest64Bit = FALSE; 987 } 977 988 } 978 989 979 990 BOOL fHMEnabled; 980 hrc = pMachine->GetHWVirtExProperty(HWVirtExPropertyType_Enabled, &fHMEnabled); H();991 hrc = pMachine->GetHWVirtExProperty(HWVirtExPropertyType_Enabled, &fHMEnabled); H(); 981 992 if (cCpus > 1 && !fHMEnabled) 982 993 { 983 994 LogRel(("Forced fHMEnabled to TRUE by SMP guest.\n")); 984 995 fHMEnabled = TRUE; 985 }986 if (!fHMEnabled && fIsGuest64Bit)987 {988 LogRel(("WARNING! 64-bit guest type selected on host without hardware virtualization (VT-x or AMD-V).\n"));989 fIsGuest64Bit = FALSE;990 996 } 991 997 … … 1167 1173 hrc = bwGroups[i]->COMGETTER(Name)(strName.asOutParam()); H(); 1168 1174 hrc = bwGroups[i]->COMGETTER(Type)(&enmType); H(); 1169 hrc = bwGroups[i]->COMGETTER(MaxBytesPerSec)(&cMaxBytesPerSec); 1175 hrc = bwGroups[i]->COMGETTER(MaxBytesPerSec)(&cMaxBytesPerSec); H(); 1170 1176 1171 1177 if (enmType == BandwidthGroupType_Disk) … … 1355 1361 Mouse *pMouse = mMouse; 1356 1362 PointingHIDType_T aPointingHID; 1357 hrc = pMachine->COMGETTER(PointingHIDType)(&aPointingHID); H();1363 hrc = pMachine->COMGETTER(PointingHIDType)(&aPointingHID); H(); 1358 1364 InsertConfigNode(pInst, "LUN#1", &pLunL0); 1359 1365 InsertConfigString(pLunL0, "Driver", "MouseQueue");
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器