- 時間撮記:
- 2014-4-16 下午05:57:25 (11 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r50996 r51092 1026 1026 else if ( osTypeId == "MacOS107" 1027 1027 || osTypeId == "MacOS107_64") 1028 uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */ /** @todo figure out what is required here. */ 1028 uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */ /** @todo figure out 1029 what is required here. */ 1029 1030 else if ( osTypeId == "MacOS108" 1030 1031 || osTypeId == "MacOS108_64") 1031 uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */ /** @todo figure out what is required here. */ 1032 uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */ /** @todo figure out 1033 what is required here. */ 1032 1034 else if ( osTypeId == "MacOS109" 1033 1035 || osTypeId == "MacOS109_64") 1034 uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */ /** @todo figure out what is required here. */ 1036 uMaxIntelFamilyModelStep = RT_MAKE_U32_FROM_U8(1, 23, 6, 7); /* Penryn / X5482 */ /** @todo figure 1037 out what is required here. */ 1035 1038 if (uMaxIntelFamilyModelStep != UINT32_MAX) 1036 1039 InsertConfigInteger(pCPUM, "MaxIntelFamilyModelStep", uMaxIntelFamilyModelStep); … … 1141 1144 #endif 1142 1145 1143 /** @todo Not exactly pretty to check strings; VBOXOSTYPE would be better, but that requires quite a bit of API change in Main. */ 1146 /** @todo Not exactly pretty to check strings; VBOXOSTYPE would be better, 1147 but that requires quite a bit of API change in Main. */ 1144 1148 if ( fIOAPIC 1145 1149 && ( osTypeId == "WindowsNT4" … … 2902 2906 parm.u.pointer.size = sizeof(IConsole *); 2903 2907 2904 rc = pVMMDev->hgcmHostCall("VBoxSharedCrOpenGL", SHCRGL_HOST_FN_SET_CONSOLE, SHCRGL_CPARMS_SET_CONSOLE, &parm); 2908 rc = pVMMDev->hgcmHostCall("VBoxSharedCrOpenGL", SHCRGL_HOST_FN_SET_CONSOLE, 2909 SHCRGL_CPARMS_SET_CONSOLE, &parm); 2905 2910 if (!RT_SUCCESS(rc)) 2906 2911 AssertMsgFailed(("SHCRGL_HOST_FN_SET_CONSOLE failed with %Rrc\n", rc)); … … 3287 3292 else 3288 3293 InsertConfigString(pNode, pszCFGMValueName, strCFGMValueUtf8); 3289 AssertLogRelMsgRCBreak(rc, ("failed to insert CFGM value '%s' to key '%s'\n", strCFGMValueUtf8.c_str(), pszExtraDataKey)); 3294 AssertLogRelMsgRCBreak(rc, ("failed to insert CFGM value '%s' to key '%s'\n", 3295 strCFGMValueUtf8.c_str(), pszExtraDataKey)); 3290 3296 } 3291 3297 } … … 3639 3645 3640 3646 if (enmBus == StorageBus_USB) 3641 rc = PDMR3UsbDriverDetach(pUVM, pcszDevice, uInstance, uLUN, NULL, 0, fHotplug ? 0 : PDM_TACH_FLAGS_NOT_HOT_PLUG); 3647 rc = PDMR3UsbDriverDetach(pUVM, pcszDevice, uInstance, uLUN, NULL, 0, 3648 fHotplug ? 0 : PDM_TACH_FLAGS_NOT_HOT_PLUG); 3642 3649 else 3643 3650 rc = PDMR3DeviceDetach(pUVM, pcszDevice, uInstance, uLUN, fHotplug ? 0 : PDM_TACH_FLAGS_NOT_HOT_PLUG); … … 4070 4077 hrc = pMedium->COMGETTER(Location)(loc.asOutParam()); H(); 4071 4078 setVMRuntimeErrorCallbackF(0, "DvdOrFloppyImageInaccessible", 4072 4079 "The image file '%ls' is inaccessible and is being ignored. Please select a different image file for the virtual %s drive.", 4073 4080 loc.raw(), 4074 4081 enmType == DeviceType_DVD ? "DVD" : "floppy"); … … 4685 4692 4686 4693 /* get the adapter's INetCfgComponent*/ 4687 hrc = VBoxNetCfgWinGetComponentByGuid(pNc, &GUID_DEVCLASS_NET, (GUID*)hostIFGuid.raw(), pAdaptorComponent.asOutParam()); 4694 hrc = VBoxNetCfgWinGetComponentByGuid(pNc, &GUID_DEVCLASS_NET, (GUID*)hostIFGuid.raw(), 4695 pAdaptorComponent.asOutParam()); 4688 4696 if (hrc != S_OK) 4689 4697 { … … 4712 4720 hrc = HRESULT_FROM_WIN32(err); 4713 4721 AssertMsgFailed(("%hrc=%Rhrc %#x\n", hrc, hrc)); 4714 AssertLogRelMsgFailed(("NetworkAttachmentType_Bridged: WideCharToMultiByte failed, hr=%Rhrc (0x%x) err=%u\n", hrc, hrc, err)); 4722 AssertLogRelMsgFailed(( 4723 "NetworkAttachmentType_Bridged: WideCharToMultiByte failed, hr=%Rhrc (0x%x) err=%u\n", 4724 hrc, hrc, err)); 4715 4725 } 4716 4726 } … … 4735 4745 { 4736 4746 VBoxNetCfgWinReleaseINetCfg(pNc, FALSE /*fHasWriteLock*/); 4737 AssertLogRelMsgFailed(("NetworkAttachmentType_Bridged: VBoxNetCfgWinGetComponentByGuid failed, hrc (0x%x)", hrc)); 4747 AssertLogRelMsgFailed(("NetworkAttachmentType_Bridged: VBoxNetCfgWinGetComponentByGuid failed, hrc (0x%x)", 4748 hrc)); 4738 4749 H(); 4739 4750 } … … 4761 4772 "sysctl is set. Either run 'chmod 0666 /dev/%s' or " 4762 4773 "change the group of that node to vboxusers and make yourself " 4763 "a member of that group. Make sure that these changes are permanent."), pszBridgedIfName, pszBridgedIfName); 4774 "a member of that group. Make sure that these changes are permanent."), 4775 pszBridgedIfName, pszBridgedIfName); 4764 4776 default: 4765 4777 AssertMsgFailed(("Could not attach to tap interface! Bad!\n")); … … 5064 5076 5065 5077 /* get the adapter's INetCfgComponent*/ 5066 hrc = VBoxNetCfgWinGetComponentByGuid(pNc, &GUID_DEVCLASS_NET, (GUID*)hostIFGuid.raw(), pAdaptorComponent.asOutParam()); 5078 hrc = VBoxNetCfgWinGetComponentByGuid(pNc, &GUID_DEVCLASS_NET, (GUID*)hostIFGuid.raw(), 5079 pAdaptorComponent.asOutParam()); 5067 5080 if (hrc != S_OK) 5068 5081 { … … 5090 5103 DWORD err = GetLastError(); 5091 5104 hrc = HRESULT_FROM_WIN32(err); 5092 AssertLogRelMsgFailed(("NetworkAttachmentType_HostOnly: WideCharToMultiByte failed, hr=%Rhrc (0x%x) err=%u\n", hrc, hrc, err)); 5105 AssertLogRelMsgFailed(( 5106 "NetworkAttachmentType_HostOnly: WideCharToMultiByte failed, hr=%Rhrc (0x%x) err=%u\n", hrc, hrc, err)); 5093 5107 } 5094 5108 } … … 5111 5125 { 5112 5126 VBoxNetCfgWinReleaseINetCfg(pNc, FALSE /*fHasWriteLock*/); 5113 AssertLogRelMsgFailed(("NetworkAttachmentType_HostOnly: VBoxNetCfgWinGetComponentByGuid failed, hrc=%Rhrc (0x%x)\n", hrc, hrc)); 5127 AssertLogRelMsgFailed(( 5128 "NetworkAttachmentType_HostOnly: VBoxNetCfgWinGetComponentByGuid failed, hrc=%Rhrc (0x%x)\n", hrc, hrc)); 5114 5129 H(); 5115 5130 } … … 5127 5142 InsertConfigString(pCfg, "Trunk", pszTrunk); 5128 5143 InsertConfigString(pCfg, "Network", szNetwork); 5129 InsertConfigInteger(pCfg, "IgnoreConnectFailure", (uint64_t)fIgnoreConnectFailure); /** @todo why is this windows only?? */ 5144 InsertConfigInteger(pCfg, "IgnoreConnectFailure", (uint64_t)fIgnoreConnectFailure); /** @todo why is this 5145 windows only?? */ 5130 5146 networkName = Bstr(szNetwork); 5131 5147 trunkName = Bstr(pszTrunk);
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器