vbox的更動 4532 路徑 trunk/src/VBox/Devices/VMMDev
- 時間撮記:
- 2007-9-5 下午01:13:07 (17 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp
r4524 r4532 1201 1201 1202 1202 requestHeader->rc = VINF_SUCCESS; 1203 } 1204 break; 1205 } 1206 1207 case VMMDevReq_ChangeMemBalloon: 1208 { 1209 VMMDevChangeMemBalloon *memBalloonChange = (VMMDevChangeMemBalloon*)requestHeader; 1210 1211 Log(("VMMDevReq_ChangeMemBalloon\n")); 1212 if ( requestHeader->size < sizeof(VMMDevChangeMemBalloon) 1213 || requestHeader->size != RT_OFFSETOF(VMMDevChangeMemBalloon, aPhysPage[memBalloonChange->cPages])) 1214 { 1215 AssertFailed(); 1216 requestHeader->rc = VERR_INVALID_PARAMETER; 1217 } 1218 else 1219 { 1220 requestHeader->rc = pData->pDrv->pfnChangeMemoryBalloon(pData->pDrv, !!memBalloonChange->fInflate, memBalloonChange->cPages, memBalloonChange->aPhysPage); 1203 1221 } 1204 1222 break;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器